#C888EE#C888EE

#C888EE is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.9% C 0.157 H 311.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#C888EE
RGBrgb(200, 136, 238)
HSLhsl(278, 75%, 73%)
HSVhsv(278, 43%, 93%)
CMYKcmyk(16%, 42.9%, 0%, 6.7%)
CIE-LABlab(66.57, 42.43, -42.02)
CIE-LCHlch(66.57, 59.71, 315.28°)
OKLaboklab(72.91% 0.1046 -0.1165)
OKLCHoklch(72.91% 0.157 311.9)
XYZxyz(48.0535, 36.0616, 85.3015)
Luminance0.3606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C888EE #AEEE88
analogous
#9588EE #C888EE #EE88E1
triadic
#C888EE #EEC888 #88EEC8
tetradic
#C888EE #EE9588 #AEEE88 #88E1EE
square
#C888EE #EE9588 #AEEE88 #88E1EE
split-complementary
#C888EE #E1EE88 #88EE95
monochromatic
#961FDC #AF52E6 #C888EE #E1BEF6 #F3E4FB

Accessibility & contrast

On white

2.56
#C888EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#C888EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C888EE
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C888EE#FFFFFF#000000##000000
##C888EE1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF2
Deuteranopia (green-blind)
#84A3EB
Tritanopia (blue-blind)
#C497B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c888ee;
/* rgb */ color: rgb(200, 136, 238);
/* oklch */ color: oklch(72.9% 0.157 311.9);
Tailwind
colors: {
  custom: {
    50: '#daacf4',
    500: '#c888ee',
    950: '#000000',
  },
}
SCSS
$custom: #c888ee;
$custom-light: #daacf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c888ee",
  "rgb": {
    "r": 200,
    "g": 136,
    "b": 238
  },
  "hsl": {
    "h": 277.647,
    "s": 75,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72906,
    "c": 0.15661,
    "h": 311.9
  },
  "luminance": 0.36061
}

Semantic roles & 50–950 ramp

primary
#C888EE
secondary
#E2F3D8
accent
#D70E59
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C888EE

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

Preview Lab → · Contrast checker → · Palette generator →

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