#6C4DE5#6C4DE5

#6C4DE5 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.3% C 0.218 H 286.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6C4DE5
RGBrgb(108, 77, 229)
HSLhsl(252, 75%, 60%)
HSVhsv(252, 66%, 90%)
CMYKcmyk(52.8%, 66.4%, 0%, 10.2%)
CIE-LABlab(44.45, 50.91, -72.90)
CIE-LCHlch(44.45, 88.92, 304.93°)
OKLaboklab(54.3% 0.06 -0.2094)
OKLCHoklch(54.3% 0.218 286)
XYZxyz(22.9768, 14.1518, 75.6344)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4DE5 #C6E54D
analogous
#4D7AE5 #6C4DE5 #B84DE5
triadic
#6C4DE5 #E56C4D #4DE56C
tetradic
#6C4DE5 #E54D7A #C6E54D #4DE5B8
square
#6C4DE5 #E54D7A #C6E54D #4DE5B8
split-complementary
#6C4DE5 #E5B84D #7AE54D
monochromatic
#3317A0 #441FD6 #6C4DE5 #9882ED #C4B8F5

Accessibility & contrast

On white

5.48
#6C4DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6C4DE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4DE5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4DE5#FFFFFF#000000##FFFFFF
##6C4DE51.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#3A7393
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6c4de5;
/* rgb */ color: rgb(108, 77, 229);
/* oklch */ color: oklch(54.3% 0.218 286.0);
Tailwind
colors: {
  custom: {
    50: '#a181ee',
    500: '#6c4de5',
    950: '#000000',
  },
}
SCSS
$custom: #6c4de5;
$custom-light: #a181ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4de5",
  "rgb": {
    "r": 108,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 252.237,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.54304,
    "c": 0.21785,
    "h": 286
  },
  "luminance": 0.14153
}

Semantic roles & 50–950 ramp

primary
#6C4DE5
secondary
#D8E4AA
accent
#F137CB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C4DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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