#6C4CE5#6C4CE5

#6C4CE5 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.219 H 286.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6C4CE5
RGBrgb(108, 76, 229)
HSLhsl(253, 75%, 60%)
HSVhsv(253, 67%, 90%)
CMYKcmyk(52.8%, 66.8%, 0%, 10.2%)
CIE-LABlab(44.25, 51.45, -73.23)
CIE-LCHlch(44.25, 89.50, 305.09°)
OKLaboklab(54.16% 0.0609 -0.2104)
OKLCHoklch(54.16% 0.219 286.1)
XYZxyz(22.9074, 14.0130, 75.6113)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4CE5 #C5E54C
analogous
#4C79E5 #6C4CE5 #B94CE5
triadic
#6C4CE5 #E56C4C #4CE56C
tetradic
#6C4CE5 #E54C79 #C5E54C #4CE5B9
square
#6C4CE5 #E54C79 #C5E54C #4CE5B9
split-complementary
#6C4CE5 #E5B94C #79E54C
monochromatic
#34179F #451FD5 #6C4CE5 #9881ED #C4B7F5

Accessibility & contrast

On white

5.52
#6C4CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#6C4CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4CE5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4CE5#FFFFFF#000000##FFFFFF
##6C4CE51.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c4ce5;
/* rgb */ color: rgb(108, 76, 229);
/* oklch */ color: oklch(54.2% 0.219 286.1);
Tailwind
colors: {
  custom: {
    50: '#a180ee',
    500: '#6c4ce5',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ce5;
$custom-light: #a180ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ce5",
  "rgb": {
    "r": 108,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 252.549,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54161,
    "c": 0.219,
    "h": 286.1
  },
  "luminance": 0.14014
}

Semantic roles & 50–950 ramp

primary
#6C4CE5
secondary
#D8E4A9
accent
#F137CA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C4CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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