#C06CD9#C06CD9

#C06CD9 is a light, vivid purple. Relative luminance 0.269; OKLCH L 66.7% C 0.176 H 318.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#C06CD9
RGBrgb(192, 108, 217)
HSLhsl(286, 59%, 64%)
HSVhsv(286, 50%, 85%)
CMYKcmyk(11.5%, 50.2%, 0%, 14.9%)
CIE-LABlab(58.92, 50.58, -42.40)
CIE-LCHlch(58.92, 66.00, 320.03°)
OKLaboklab(66.69% 0.1309 -0.1177)
OKLCHoklch(66.69% 0.176 318.1)
XYZxyz(39.6235, 26.9427, 68.7454)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C06CD9 #85D96C
analogous
#896CD9 #C06CD9 #D96CBB
triadic
#C06CD9 #D9C06C #6CD9C0
tetradic
#C06CD9 #D9896C #85D96C #6CBBD9
square
#C06CD9 #D9896C #85D96C #6CBBD9
split-complementary
#C06CD9 #BBD96C #6CD989
monochromatic
#862AA1 #AB3BCC #C06CD9 #D59DE6 #EACDF2

Accessibility & contrast

On white

3.29
#C06CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#C06CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C06CD9
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C06CD9#FFFFFF#000000##000000
##C06CD91.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5788DD
Deuteranopia (green-blind)
#7191D6
Tritanopia (blue-blind)
#C07C99
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c06cd9;
/* rgb */ color: rgb(192, 108, 217);
/* oklch */ color: oklch(66.7% 0.176 318.1);
Tailwind
colors: {
  custom: {
    50: '#d599e5',
    500: '#c06cd9',
    950: '#000000',
  },
}
SCSS
$custom: #c06cd9;
$custom-light: #d599e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c06cd9",
  "rgb": {
    "r": 192,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 286.239,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66692,
    "c": 0.17605,
    "h": 318.1
  },
  "luminance": 0.26941
}

Semantic roles & 50–950 ramp

primary
#C06CD9
secondary
#C6E4BD
accent
#C71F45
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #C06CD9

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

Preview Lab → · Contrast checker → · Palette generator →

#C06CD9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva