#C066EF#C066EF

#C066EF is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 67.1% C 0.208 H 312.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#C066EF
RGBrgb(192, 102, 239)
HSLhsl(279, 81%, 67%)
HSVhsv(279, 57%, 94%)
CMYKcmyk(19.7%, 57.3%, 0%, 6.3%)
CIE-LABlab(58.92, 58.10, -54.71)
CIE-LCHlch(58.92, 79.81, 316.72°)
OKLaboklab(67.06% 0.1404 -0.1535)
OKLCHoklch(67.06% 0.208 312.4)
XYZxyz(42.0668, 26.9423, 84.6290)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C066EF #95EF66
analogous
#7C66EF #C066EF #EF66DA
triadic
#C066EF #EFC066 #66EFC0
tetradic
#C066EF #EF7C66 #95EF66 #66DAEF
square
#C066EF #EF7C66 #95EF66 #66DAEF
split-complementary
#C066EF #DAEF66 #66EF7C
monochromatic
#8915C6 #A92FE9 #C066EF #D79DF5 #EED5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C066EF#FFFFFF#000000##000000
##C066EF1.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)
#3B89F3
Deuteranopia (green-blind)
#5E90EC
Tritanopia (blue-blind)
#BB7EA1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c066ef;
/* rgb */ color: rgb(192, 102, 239);
/* oklch */ color: oklch(67.1% 0.208 312.4);
Tailwind
colors: {
  custom: {
    50: '#d696f5',
    500: '#c066ef',
    950: '#000000',
  },
}
SCSS
$custom: #c066ef;
$custom-light: #d696f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c066ef",
  "rgb": {
    "r": 192,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 279.416,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67059,
    "c": 0.20798,
    "h": 312.4
  },
  "luminance": 0.26941
}

Semantic roles & 50–950 ramp

primary
#C066EF
secondary
#D2EEC2
accent
#DD0851
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C066EF

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

Preview Lab → · Contrast checker → · Palette generator →

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