#6C4EE7#6C4EE7

#6C4EE7 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.219 H 285.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6C4EE7
RGBrgb(108, 78, 231)
HSLhsl(252, 76%, 61%)
HSVhsv(252, 66%, 91%)
CMYKcmyk(53.2%, 66.2%, 0%, 9.4%)
CIE-LABlab(44.81, 50.95, -73.45)
CIE-LCHlch(44.81, 89.39, 304.75°)
OKLaboklab(54.61% 0.0588 -0.211)
OKLCHoklch(54.61% 0.219 285.6)
XYZxyz(23.3282, 14.4052, 77.1371)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4EE7 #C9E74E
analogous
#4E7CE7 #6C4EE7 #B94EE7
triadic
#6C4EE7 #E76C4E #4EE76C
tetradic
#6C4EE7 #E74E7C #C9E74E #4EE7B9
square
#6C4EE7 #E74E7C #C9E74E #4EE7B9
split-complementary
#6C4EE7 #E7B94E #7CE74E
monochromatic
#3216A4 #431EDA #6C4EE7 #9984EE #C6BAF6

Accessibility & contrast

On white

5.41
#6C4EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6C4EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4EE7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4EE7#FFFFFF#000000##FFFFFF
##6C4EE71.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#387594
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c4ee7;
/* rgb */ color: rgb(108, 78, 231);
/* oklch */ color: oklch(54.6% 0.219 285.6);
Tailwind
colors: {
  custom: {
    50: '#a182f0',
    500: '#6c4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ee7;
$custom-light: #a182f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ee7",
  "rgb": {
    "r": 108,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 251.765,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54611,
    "c": 0.21907,
    "h": 285.6
  },
  "luminance": 0.14406
}

Semantic roles & 50–950 ramp

primary
#6C4EE7
secondary
#DAE5AB
accent
#D80DB0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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