#6C4DE7#6C4DE7

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

Color values

HEX#6C4DE7
RGBrgb(108, 77, 231)
HSLhsl(252, 76%, 60%)
HSVhsv(252, 67%, 91%)
CMYKcmyk(53.2%, 66.7%, 0%, 9.4%)
CIE-LABlab(44.61, 51.49, -73.77)
CIE-LCHlch(44.61, 89.97, 304.91°)
OKLaboklab(54.47% 0.0597 -0.212)
OKLCHoklch(54.47% 0.22 285.7)
XYZxyz(23.2577, 14.2642, 77.1136)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4DE7 #C8E74D
analogous
#4D7BE7 #6C4DE7 #B94DE7
triadic
#6C4DE7 #E76C4D #4DE76C
tetradic
#6C4DE7 #E74D7B #C8E74D #4DE7B9
square
#6C4DE7 #E74D7B #C8E74D #4DE7B9
split-complementary
#6C4DE7 #E7B94D #7BE74D
monochromatic
#3316A4 #431DD9 #6C4DE7 #9983EE #C5B9F6

Accessibility & contrast

On white

5.45
#6C4DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6C4DE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4DE7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4DE7#FFFFFF#000000##FFFFFF
##6C4DE71.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#387494
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6c4de7;
/* rgb */ color: rgb(108, 77, 231);
/* oklch */ color: oklch(54.5% 0.220 285.7);
Tailwind
colors: {
  custom: {
    50: '#a181f0',
    500: '#6c4de7',
    950: '#000000',
  },
}
SCSS
$custom: #6c4de7;
$custom-light: #a181f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4de7",
  "rgb": {
    "r": 108,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 252.078,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54468,
    "c": 0.22023,
    "h": 285.7
  },
  "luminance": 0.14265
}

Semantic roles & 50–950 ramp

primary
#6C4DE7
secondary
#D9E5AA
accent
#D80DAF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C4DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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