#6A5EF1#6A5EF1

#6A5EF1 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.7% C 0.213 H 281.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6A5EF1
RGBrgb(106, 94, 241)
HSLhsl(245, 84%, 66%)
HSVhsv(245, 61%, 95%)
CMYKcmyk(56%, 61%, 0%, 5.5%)
CIE-LABlab(48.78, 44.58, -72.61)
CIE-LCHlch(48.78, 85.20, 301.55°)
OKLaboklab(57.7% 0.0409 -0.2086)
OKLCHoklch(57.7% 0.213 281.1)
XYZxyz(25.8188, 17.4188, 85.2037)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5EF1 #E5F15E
analogous
#5E9BF1 #6A5EF1 #B35EF1
triadic
#6A5EF1 #F16A5E #5EF16A
tetradic
#6A5EF1 #F15E9B #E5F15E #5EF1B3
square
#6A5EF1 #F15E9B #E5F15E #5EF1B3
split-complementary
#6A5EF1 #F1B35E #9BF15E
monochromatic
#2011C4 #3626EC #6A5EF1 #9E96F6 #D2CFFB

Accessibility & contrast

On white

4.68
#6A5EF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#6A5EF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5EF1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5EF1#FFFFFF#000000##FFFFFF
##6A5EF11.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#006EEE
Tritanopia (blue-blind)
#21829F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a5ef1;
/* rgb */ color: rgb(106, 94, 241);
/* oklch */ color: oklch(57.7% 0.213 281.1);
Tailwind
colors: {
  custom: {
    50: '#a08cf7',
    500: '#6a5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ef1;
$custom-light: #a08cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ef1",
  "rgb": {
    "r": 106,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 244.898,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57697,
    "c": 0.21254,
    "h": 281.1
  },
  "luminance": 0.1742
}

Semantic roles & 50–950 ramp

primary
#6A5EF1
secondary
#EAEEBD
accent
#E005CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5EF1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6A5EF1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva