#6C5EEA#6C5EEA

#6C5EEA is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.3% C 0.203 H 282.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6C5EEA
RGBrgb(108, 94, 234)
HSLhsl(246, 77%, 64%)
HSVhsv(246, 60%, 92%)
CMYKcmyk(53.8%, 59.8%, 0%, 8.2%)
CIE-LABlab(48.43, 42.80, -69.25)
CIE-LCHlch(48.43, 81.41, 301.72°)
OKLaboklab(57.31% 0.0437 -0.1986)
OKLCHoklch(57.31% 0.203 282.4)
XYZxyz(25.0338, 17.1326, 79.8137)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5EEA #DCEA5E
analogous
#5E96EA #6C5EEA #B25EEA
triadic
#6C5EEA #EA6C5E #5EEA6C
tetradic
#6C5EEA #EA5E96 #DCEA5E #5EEAB2
square
#6C5EEA #EA5E96 #DCEA5E #5EEAB2
split-complementary
#6C5EEA #EAB25E #96EA5E
monochromatic
#2818B6 #3B28E3 #6C5EEA #9D94F1 #CFCAF8

Accessibility & contrast

On white

4.74
#6C5EEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6C5EEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5EEA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5EEA#FFFFFF#000000##FFFFFF
##6C5EEA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#337F9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6c5eea;
/* rgb */ color: rgb(108, 94, 234);
/* oklch */ color: oklch(57.3% 0.203 282.4);
Tailwind
colors: {
  custom: {
    50: '#a08cf2',
    500: '#6c5eea',
    950: '#000000',
  },
}
SCSS
$custom: #6c5eea;
$custom-light: #a08cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5eea",
  "rgb": {
    "r": 108,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 246,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57313,
    "c": 0.20339,
    "h": 282.4
  },
  "luminance": 0.17134
}

Semantic roles & 50–950 ramp

primary
#6C5EEA
secondary
#E5EABA
accent
#D90CC5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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