#6C4EEA#6C4EEA

#6C4EEA is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.223 H 285.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6C4EEA
RGBrgb(108, 78, 234)
HSLhsl(252, 79%, 61%)
HSVhsv(252, 67%, 92%)
CMYKcmyk(53.8%, 66.7%, 0%, 8.2%)
CIE-LABlab(45.05, 51.81, -74.75)
CIE-LCHlch(45.05, 90.96, 304.73°)
OKLaboklab(54.86% 0.0584 -0.2148)
OKLCHoklch(54.86% 0.223 285.2)
XYZxyz(23.7555, 14.5761, 79.3877)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4EEA #CCEA4E
analogous
#4E7EEA #6C4EEA #BA4EEA
triadic
#6C4EEA #EA6C4E #4EEA6C
tetradic
#6C4EEA #EA4E7E #CCEA4E #4EEABA
square
#6C4EEA #EA4E7E #CCEA4E #4EEABA
split-complementary
#6C4EEA #EABA4E #7EEA4E
monochromatic
#3114A9 #411BE0 #6C4EEA #9985F0 #C7BBF7

Accessibility & contrast

On white

5.36
#6C4EEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6C4EEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4EEA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4EEA#FFFFFF#000000##FFFFFF
##6C4EEA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#357696
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6c4eea;
/* rgb */ color: rgb(108, 78, 234);
/* oklch */ color: oklch(54.9% 0.223 285.2);
Tailwind
colors: {
  custom: {
    50: '#a182f2',
    500: '#6c4eea',
    950: '#000000',
  },
}
SCSS
$custom: #6c4eea;
$custom-light: #a182f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4eea",
  "rgb": {
    "r": 108,
    "g": 78,
    "b": 234
  },
  "hsl": {
    "h": 251.538,
    "s": 78.788,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54858,
    "c": 0.22265,
    "h": 285.2
  },
  "luminance": 0.14577
}

Semantic roles & 50–950 ramp

primary
#6C4EEA
secondary
#DCE7AD
accent
#DB0AB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C4EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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