#6C4CCC#6C4CCC

#6C4CCC is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.189 H 289.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6C4CCC
RGBrgb(108, 76, 204)
HSLhsl(255, 56%, 55%)
HSVhsv(255, 63%, 80%)
CMYKcmyk(47.1%, 62.7%, 0%, 20%)
CIE-LABlab(42.33, 44.29, -62.05)
CIE-LCHlch(42.33, 76.24, 305.52°)
OKLaboklab(52.17% 0.0638 -0.1775)
OKLCHoklch(52.17% 0.189 289.8)
XYZxyz(19.6648, 12.7159, 58.5333)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4CCC #ACCC4C
analogous
#4C6CCC #6C4CCC #AC4CCC
triadic
#6C4CCC #CC6C4C #4CCC6C
tetradic
#6C4CCC #CC4C6C #ACCC4C #4CCCAC
square
#6C4CCC #CC4C6C #ACCC4C #4CCCAC
split-complementary
#6C4CCC #CCAC4C #6CCC4C
monochromatic
#39237B #4F31AA #6C4CCC #937CDA #BAABE7

Accessibility & contrast

On white

5.93
#6C4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6C4CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4CCC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4CCC#FFFFFF#000000##FFFFFF
##6C4CCC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#4D6A85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c4ccc;
/* rgb */ color: rgb(108, 76, 204);
/* oklch */ color: oklch(52.2% 0.189 289.8);
Tailwind
colors: {
  custom: {
    50: '#9d80dc',
    500: '#6c4ccc',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ccc;
$custom-light: #9d80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ccc",
  "rgb": {
    "r": 108,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 255,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.18862,
    "h": 289.8
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#6C4CCC
secondary
#C7D59F
accent
#DF49B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C4CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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