#C888FA#C888FA

#C888FA is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.5% C 0.170 H 308.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#C888FA
RGBrgb(200, 136, 250)
HSLhsl(274, 92%, 76%)
HSVhsv(274, 46%, 98%)
CMYKcmyk(20%, 45.6%, 0%, 2%)
CIE-LABlab(67.12, 45.02, -47.73)
CIE-LCHlch(67.12, 65.61, 313.32°)
OKLaboklab(73.5% 0.1065 -0.1331)
OKLCHoklch(73.5% 0.17 308.7)
XYZxyz(49.8756, 36.7905, 94.8978)
Luminance0.3679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C888FA #BAFA88
analogous
#8F88FA #C888FA #FA88F3
triadic
#C888FA #FAC888 #88FAC8
tetradic
#C888FA #FA8F88 #BAFA88 #88F3FA
square
#C888FA #FA8F88 #BAFA88 #88F3FA
split-complementary
#C888FA #F3FA88 #88FA8F
monochromatic
#9213F5 #AD4DF8 #C888FA #E3C3FC #F1E2FE

Accessibility & contrast

On white

2.51
#C888FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#C888FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C888FA
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C888FA#FFFFFF#000000##000000
##C888FA1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FE
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#C19AB5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c888fa;
/* rgb */ color: rgb(200, 136, 250);
/* oklch */ color: oklch(73.5% 0.170 308.7);
Tailwind
colors: {
  custom: {
    50: '#dbacfc',
    500: '#c888fa',
    950: '#000000',
  },
}
SCSS
$custom: #c888fa;
$custom-light: #dbacfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c888fa",
  "rgb": {
    "r": 200,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 273.684,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73501,
    "c": 0.17044,
    "h": 308.7
  },
  "luminance": 0.3679
}

Semantic roles & 50–950 ramp

primary
#C888FA
secondary
#E3F6D5
accent
#E60065
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C888FA

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

Preview Lab → · Contrast checker → · Palette generator →

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