#C888EA#C888EA

#C888EA is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.7% C 0.152 H 313.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#C888EA
RGBrgb(200, 136, 234)
HSLhsl(279, 70%, 73%)
HSVhsv(279, 42%, 92%)
CMYKcmyk(14.5%, 41.9%, 0%, 8.2%)
CIE-LABlab(66.39, 41.58, -40.09)
CIE-LCHlch(66.39, 57.76, 316.05°)
OKLaboklab(72.72% 0.1039 -0.111)
OKLCHoklch(72.72% 0.152 313.1)
XYZxyz(47.4724, 35.8292, 82.2409)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C888EA #AAEA88
analogous
#9788EA #C888EA #EA88DB
triadic
#C888EA #EAC888 #88EAC8
tetradic
#C888EA #EA9788 #AAEA88 #88DBEA
square
#C888EA #EA9788 #AAEA88 #88DBEA
split-complementary
#C888EA #DBEA88 #88EA97
monochromatic
#9625D2 #B054E1 #C888EA #E0BCF3 #F3E5FA

Accessibility & contrast

On white

2.57
#C888EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#C888EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C888EA
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C888EA#FFFFFF#000000##000000
##C888EA1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#86A3E7
Tritanopia (blue-blind)
#C596AE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c888ea;
/* rgb */ color: rgb(200, 136, 234);
/* oklch */ color: oklch(72.7% 0.152 313.1);
Tailwind
colors: {
  custom: {
    50: '#daacf1',
    500: '#c888ea',
    950: '#000000',
  },
}
SCSS
$custom: #c888ea;
$custom-light: #daacf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c888ea",
  "rgb": {
    "r": 200,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 279.184,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72715,
    "c": 0.15205,
    "h": 313.1
  },
  "luminance": 0.35828
}

Semantic roles & 50–950 ramp

primary
#C888EA
secondary
#E2F2D9
accent
#D21456
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C888EA

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

Preview Lab → · Contrast checker → · Palette generator →

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