#6C4CE9#6C4CE9

#6C4CE9 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.224 H 285.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6C4CE9
RGBrgb(108, 76, 233)
HSLhsl(252, 78%, 61%)
HSVhsv(252, 67%, 91%)
CMYKcmyk(53.6%, 67.4%, 0%, 8.6%)
CIE-LABlab(44.57, 52.60, -74.96)
CIE-LCHlch(44.57, 91.58, 305.06°)
OKLaboklab(54.49% 0.0603 -0.2155)
OKLCHoklch(54.49% 0.224 285.6)
XYZxyz(23.4723, 14.2389, 78.5866)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4CE9 #C9E94C
analogous
#4C7BE9 #6C4CE9 #BA4CE9
triadic
#6C4CE9 #E96C4C #4CE96C
tetradic
#6C4CE9 #E94C7B #C9E94C #4CE9BA
square
#6C4CE9 #E94C7B #C9E94C #4CE9BA
split-complementary
#6C4CE9 #E9BA4C #7BE94C
monochromatic
#3214A6 #431BDD #6C4CE9 #9983F0 #C6B9F6

Accessibility & contrast

On white

5.46
#6C4CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C4CE9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4CE9#FFFFFF#000000##FFFFFF
##6C4CE91.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#367494
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6c4ce9;
/* rgb */ color: rgb(108, 76, 233);
/* oklch */ color: oklch(54.5% 0.224 285.6);
Tailwind
colors: {
  custom: {
    50: '#a180f1',
    500: '#6c4ce9',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ce9;
$custom-light: #a180f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ce9",
  "rgb": {
    "r": 108,
    "g": 76,
    "b": 233
  },
  "hsl": {
    "h": 252.229,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54492,
    "c": 0.22375,
    "h": 285.6
  },
  "luminance": 0.1424
}

Semantic roles & 50–950 ramp

primary
#6C4CE9
secondary
#DAE6AB
accent
#DA0BB0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C4CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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