#6C4CCE#6C4CCE

#6C4CCE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.191 H 289.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6C4CCE
RGBrgb(108, 76, 206)
HSLhsl(255, 57%, 55%)
HSVhsv(255, 63%, 81%)
CMYKcmyk(47.6%, 63.1%, 0%, 19.2%)
CIE-LABlab(42.48, 44.86, -62.96)
CIE-LCHlch(42.48, 77.31, 305.47°)
OKLaboklab(52.33% 0.0636 -0.1802)
OKLCHoklch(52.33% 0.191 289.4)
XYZxyz(19.9062, 12.8125, 59.8047)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4CCE #AECE4C
analogous
#4C6DCE #6C4CCE #AD4CCE
triadic
#6C4CCE #CE6C4C #4CCE6C
tetradic
#6C4CCE #CE4C6D #AECE4C #4CCEAD
square
#6C4CCE #CE4C6D #AECE4C #4CCEAD
split-complementary
#6C4CCE #CEAD4C #6DCE4C
monochromatic
#39227D #4E2FAD #6C4CCE #937CDB #BBACE8

Accessibility & contrast

On white

5.89
#6C4CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6C4CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4CCE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4CCE#FFFFFF#000000##FFFFFF
##6C4CCE1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#4C6B86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c4cce;
/* rgb */ color: rgb(108, 76, 206);
/* oklch */ color: oklch(52.3% 0.191 289.4);
Tailwind
colors: {
  custom: {
    50: '#9e80de',
    500: '#6c4cce',
    950: '#000000',
  },
}
SCSS
$custom: #6c4cce;
$custom-light: #9e80de;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4cce",
  "rgb": {
    "r": 108,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 254.769,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52328,
    "c": 0.1911,
    "h": 289.4
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#6C4CCE
secondary
#C9D6A0
accent
#E048BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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