#6C4CCD#6C4CCD

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

Color values

HEX#6C4CCD
RGBrgb(108, 76, 205)
HSLhsl(255, 56%, 55%)
HSVhsv(255, 63%, 80%)
CMYKcmyk(47.3%, 62.9%, 0%, 19.6%)
CIE-LABlab(42.41, 44.58, -62.51)
CIE-LCHlch(42.41, 76.77, 305.50°)
OKLaboklab(52.25% 0.0637 -0.1789)
OKLCHoklch(52.25% 0.19 289.6)
XYZxyz(19.7851, 12.7640, 59.1670)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4CCD #ADCD4C
analogous
#4C6CCD #6C4CCD #AD4CCD
triadic
#6C4CCD #CD6C4C #4CCD6C
tetradic
#6C4CCD #CD4C6C #ADCD4C #4CCDAD
square
#6C4CCD #CD4C6C #ADCD4C #4CCDAD
split-complementary
#6C4CCD #CDAD4C #6CCD4C
monochromatic
#39237C #4F30AC #6C4CCD #937CDA #BBACE8

Accessibility & contrast

On white

5.91
#6C4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6C4CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4CCD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4CCD#FFFFFF#000000##FFFFFF
##6C4CCD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#4D6B85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c4ccd;
/* rgb */ color: rgb(108, 76, 205);
/* oklch */ color: oklch(52.3% 0.190 289.6);
Tailwind
colors: {
  custom: {
    50: '#9d80dd',
    500: '#6c4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ccd;
$custom-light: #9d80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ccd",
  "rgb": {
    "r": 108,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 254.884,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.18987,
    "h": 289.6
  },
  "luminance": 0.12765
}

Semantic roles & 50–950 ramp

primary
#6C4CCD
secondary
#C8D59F
accent
#E048BA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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