#C66CEB#C66CEB

#C66CEB is a light, vivid purple. Relative luminance 0.287; OKLCH L 68.3% C 0.197 H 315.1°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#C66CEB
RGBrgb(198, 108, 235)
HSLhsl(283, 76%, 67%)
HSVhsv(283, 54%, 92%)
CMYKcmyk(15.7%, 54%, 0%, 7.8%)
CIE-LABlab(60.54, 55.82, -49.86)
CIE-LCHlch(60.54, 74.85, 318.22°)
OKLaboklab(68.34% 0.1398 -0.1392)
OKLCHoklch(68.34% 0.197 315.1)
XYZxyz(43.6443, 28.7304, 81.8276)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C66CEB #91EB6C
analogous
#876CEB #C66CEB #EB6CD0
triadic
#C66CEB #EBC66C #6CEBC6
tetradic
#C66CEB #EB876C #91EB6C #6CD0EB
square
#C66CEB #EB876C #91EB6C #6CD0EB
split-complementary
#C66CEB #D0EB6C #6CEB87
monochromatic
#911AC2 #B136E4 #C66CEB #DBA2F2 #F0D8FA

Accessibility & contrast

On white

3.11
#C66CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#C66CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C66CEB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C66CEB#FFFFFF#000000##000000
##C66CEB1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DEF
Deuteranopia (green-blind)
#6B95E8
Tritanopia (blue-blind)
#C481A1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c66ceb;
/* rgb */ color: rgb(198, 108, 235);
/* oklch */ color: oklch(68.3% 0.197 315.1);
Tailwind
colors: {
  custom: {
    50: '#da99f2',
    500: '#c66ceb',
    950: '#000000',
  },
}
SCSS
$custom: #c66ceb;
$custom-light: #da99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c66ceb",
  "rgb": {
    "r": 198,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 282.52,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68335,
    "c": 0.19725,
    "h": 315.1
  },
  "luminance": 0.28729
}

Semantic roles & 50–950 ramp

primary
#C66CEB
secondary
#D1EDC5
accent
#D80D48
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C66CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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