#6C4CE7#6C4CE7

#6C4CE7 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.221 H 285.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6C4CE7
RGBrgb(108, 76, 231)
HSLhsl(252, 76%, 60%)
HSVhsv(252, 67%, 91%)
CMYKcmyk(53.2%, 67.1%, 0%, 9.4%)
CIE-LABlab(44.41, 52.03, -74.10)
CIE-LCHlch(44.41, 90.54, 305.08°)
OKLaboklab(54.33% 0.0606 -0.2129)
OKLCHoklch(54.33% 0.221 285.9)
XYZxyz(23.1883, 14.1253, 77.0904)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4CE7 #C7E74C
analogous
#4C79E7 #6C4CE7 #B94CE7
triadic
#6C4CE7 #E76C4C #4CE76C
tetradic
#6C4CE7 #E74C79 #C7E74C #4CE7B9
square
#6C4CE7 #E74C79 #C7E74C #4CE7B9
split-complementary
#6C4CE7 #E7B94C #79E74C
monochromatic
#3316A3 #441DD9 #6C4CE7 #9882EE #C5B8F5

Accessibility & contrast

On white

5.49
#6C4CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C4CE7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4CE7#FFFFFF#000000##FFFFFF
##6C4CE71.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#387493
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6c4ce7;
/* rgb */ color: rgb(108, 76, 231);
/* oklch */ color: oklch(54.3% 0.221 285.9);
Tailwind
colors: {
  custom: {
    50: '#a180f0',
    500: '#6c4ce7',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ce7;
$custom-light: #a180f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ce7",
  "rgb": {
    "r": 108,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 252.387,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54326,
    "c": 0.22138,
    "h": 285.9
  },
  "luminance": 0.14127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C4CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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