#C888FE#C888FE

#C888FE is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.7% C 0.175 H 307.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#C888FE
RGBrgb(200, 136, 254)
HSLhsl(273, 98%, 76%)
HSVhsv(273, 46%, 100%)
CMYKcmyk(21.3%, 46.5%, 0%, 0.4%)
CIE-LABlab(67.31, 45.90, -49.62)
CIE-LCHlch(67.31, 67.59, 312.77°)
OKLaboklab(73.71% 0.107 -0.1386)
OKLCHoklch(73.71% 0.175 307.7)
XYZxyz(50.5094, 37.0440, 98.2360)
Luminance0.3704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C888FE #BEFE88
analogous
#8D88FE #C888FE #FE88F9
triadic
#C888FE #FEC888 #88FEC8
tetradic
#C888FE #FE8D88 #BEFE88 #88F9FE
square
#C888FE #FE8D88 #BEFE88 #88F9FE
split-complementary
#C888FE #F9FE88 #88FE8D
monochromatic
#900FFD #AC4BFD #C888FE #E4C5FF #F1E1FF

Accessibility & contrast

On white

2.50
#C888FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#C888FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C888FE
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C888FE#FFFFFF#000000##000000
##C888FE1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#7BA5FB
Tritanopia (blue-blind)
#C09CB7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c888fe;
/* rgb */ color: rgb(200, 136, 254);
/* oklch */ color: oklch(73.7% 0.175 307.7);
Tailwind
colors: {
  custom: {
    50: '#dbacff',
    500: '#c888fe',
    950: '#000000',
  },
}
SCSS
$custom: #c888fe;
$custom-light: #dbacff;
$custom-dark: #000000;
JSON
{
  "hex": "#c888fe",
  "rgb": {
    "r": 200,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 272.542,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73705,
    "c": 0.17507,
    "h": 307.7
  },
  "luminance": 0.37043
}

Semantic roles & 50–950 ramp

primary
#C888FE
secondary
#E4F7D4
accent
#E60069
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C888FE

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

Preview Lab → · Contrast checker → · Palette generator →

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