#6C5CEA#6C5CEA

#6C5CEA is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.0% C 0.206 H 282.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6C5CEA
RGBrgb(108, 92, 234)
HSLhsl(247, 77%, 64%)
HSVhsv(247, 61%, 92%)
CMYKcmyk(53.8%, 60.7%, 0%, 8.2%)
CIE-LABlab(47.98, 43.96, -69.97)
CIE-LCHlch(47.98, 82.63, 302.14°)
OKLaboklab(56.99% 0.0456 -0.2008)
OKLCHoklch(56.99% 0.206 282.8)
XYZxyz(24.8582, 16.7815, 79.7552)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5CEA #DAEA5C
analogous
#5C93EA #6C5CEA #B35CEA
triadic
#6C5CEA #EA6C5C #5CEA6C
tetradic
#6C5CEA #EA5C93 #DAEA5C #5CEAB3
square
#6C5CEA #EA5C93 #DAEA5C #5CEAB3
split-complementary
#6C5CEA #EAB35C #93EA5C
monochromatic
#2917B4 #3B26E3 #6C5CEA #9D92F1 #CEC8F8

Accessibility & contrast

On white

4.82
#6C5CEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#6C5CEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5CEA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5CEA#FFFFFF#000000##FFFFFF
##6C5CEA1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#337E9A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c5cea;
/* rgb */ color: rgb(108, 92, 234);
/* oklch */ color: oklch(57.0% 0.206 282.8);
Tailwind
colors: {
  custom: {
    50: '#a08bf2',
    500: '#6c5cea',
    950: '#000000',
  },
}
SCSS
$custom: #6c5cea;
$custom-light: #a08bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5cea",
  "rgb": {
    "r": 108,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 246.761,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56988,
    "c": 0.20589,
    "h": 282.8
  },
  "luminance": 0.16783
}

Semantic roles & 50–950 ramp

primary
#6C5CEA
secondary
#E4EAB8
accent
#D90CC2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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