#6C4EE9#6C4EE9

#6C4EE9 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.221 H 285.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6C4EE9
RGBrgb(108, 78, 233)
HSLhsl(252, 78%, 61%)
HSVhsv(252, 67%, 91%)
CMYKcmyk(53.6%, 66.5%, 0%, 8.6%)
CIE-LABlab(44.97, 51.53, -74.32)
CIE-LCHlch(44.97, 90.43, 304.73°)
OKLaboklab(54.78% 0.0586 -0.2136)
OKLCHoklch(54.78% 0.221 285.3)
XYZxyz(23.6123, 14.5188, 78.6332)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4EE9 #CBE94E
analogous
#4E7DE9 #6C4EE9 #B94EE9
triadic
#6C4EE9 #E96C4E #4EE96C
tetradic
#6C4EE9 #E94E7D #CBE94E #4EE9B9
square
#6C4EE9 #E94E7D #CBE94E #4EE9B9
split-complementary
#6C4EE9 #E9B94E #7DE94E
monochromatic
#3115A8 #411CDE #6C4EE9 #9984F0 #C6BBF7

Accessibility & contrast

On white

5.38
#6C4EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6C4EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4EE9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4EE9#FFFFFF#000000##FFFFFF
##6C4EE91.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEE
Deuteranopia (green-blind)
#0066E6
Tritanopia (blue-blind)
#367595
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c4ee9;
/* rgb */ color: rgb(108, 78, 233);
/* oklch */ color: oklch(54.8% 0.221 285.3);
Tailwind
colors: {
  custom: {
    50: '#a182f1',
    500: '#6c4ee9',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ee9;
$custom-light: #a182f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ee9",
  "rgb": {
    "r": 108,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 251.613,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54775,
    "c": 0.22146,
    "h": 285.3
  },
  "luminance": 0.1452
}

Semantic roles & 50–950 ramp

primary
#6C4EE9
secondary
#DBE7AC
accent
#DA0BB2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C4EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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