#6C4EE5#6C4EE5

#6C4EE5 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.4% C 0.217 H 285.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6C4EE5
RGBrgb(108, 78, 229)
HSLhsl(252, 74%, 60%)
HSVhsv(252, 66%, 90%)
CMYKcmyk(52.8%, 65.9%, 0%, 10.2%)
CIE-LABlab(44.65, 50.37, -72.58)
CIE-LCHlch(44.65, 88.34, 304.76°)
OKLaboklab(54.45% 0.0591 -0.2085)
OKLCHoklch(54.45% 0.217 285.8)
XYZxyz(23.0474, 14.2928, 75.6579)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4EE5 #C7E54E
analogous
#4E7BE5 #6C4EE5 #B84EE5
triadic
#6C4EE5 #E56C4E #4EE56C
tetradic
#6C4EE5 #E54E7B #C7E54E #4EE5B8
square
#6C4EE5 #E54E7B #C7E54E #4EE5B8
split-complementary
#6C4EE5 #E5B84E #7BE54E
monochromatic
#3318A1 #441FD6 #6C4EE5 #9883ED #C5B9F5

Accessibility & contrast

On white

5.44
#6C4EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6C4EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4EE5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4EE5#FFFFFF#000000##FFFFFF
##6C4EE51.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#3A7493
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c4ee5;
/* rgb */ color: rgb(108, 78, 229);
/* oklch */ color: oklch(54.4% 0.217 285.8);
Tailwind
colors: {
  custom: {
    50: '#a081ee',
    500: '#6c4ee5',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ee5;
$custom-light: #a081ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ee5",
  "rgb": {
    "r": 108,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 251.921,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54448,
    "c": 0.21668,
    "h": 285.8
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

primary
#6C4EE5
secondary
#D9E4AA
accent
#D70FAF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C4EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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