#6C4EE6#6C4EE6

#6C4EE6 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.218 H 285.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6C4EE6
RGBrgb(108, 78, 230)
HSLhsl(252, 75%, 60%)
HSVhsv(252, 66%, 90%)
CMYKcmyk(53%, 66.1%, 0%, 9.8%)
CIE-LABlab(44.73, 50.66, -73.01)
CIE-LCHlch(44.73, 88.87, 304.75°)
OKLaboklab(54.53% 0.059 -0.2097)
OKLCHoklch(54.53% 0.218 285.7)
XYZxyz(23.1874, 14.3488, 76.3954)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4EE6 #C8E64E
analogous
#4E7CE6 #6C4EE6 #B84EE6
triadic
#6C4EE6 #E66C4E #4EE66C
tetradic
#6C4EE6 #E64E7C #C8E64E #4EE6B8
square
#6C4EE6 #E64E7C #C8E64E #4EE6B8
split-complementary
#6C4EE6 #E6B84E #7CE64E
monochromatic
#3317A3 #431FD8 #6C4EE6 #9984EE #C5B9F5

Accessibility & contrast

On white

5.43
#6C4EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6C4EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4EE6
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4EE6#FFFFFF#000000##FFFFFF
##6C4EE61.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#397493
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c4ee6;
/* rgb */ color: rgb(108, 78, 230);
/* oklch */ color: oklch(54.5% 0.218 285.7);
Tailwind
colors: {
  custom: {
    50: '#a182ef',
    500: '#6c4ee6',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ee6;
$custom-light: #a182ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ee6",
  "rgb": {
    "r": 108,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 251.842,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54529,
    "c": 0.21787,
    "h": 285.7
  },
  "luminance": 0.1435
}

Semantic roles & 50–950 ramp

primary
#6C4EE6
secondary
#D9E5AB
accent
#D70EB0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C4EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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