#CF88EC#CF88EC

#CF88EC is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.5% C 0.157 H 315.6°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#CF88EC
RGBrgb(207, 136, 236)
HSLhsl(283, 72%, 73%)
HSVhsv(283, 42%, 93%)
CMYKcmyk(12.3%, 42.4%, 0%, 7.5%)
CIE-LABlab(67.23, 44.02, -39.83)
CIE-LCHlch(67.23, 59.36, 317.86°)
OKLaboklab(73.54% 0.1124 -0.1101)
OKLCHoklch(73.54% 0.157 315.6)
XYZxyz(49.6743, 36.9311, 83.8523)
Luminance0.3693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF88EC #A5EC88
analogous
#9D88EC #CF88EC #EC88D7
triadic
#CF88EC #ECCF88 #88ECCF
tetradic
#CF88EC #EC9D88 #A5EC88 #88D7EC
square
#CF88EC #EC9D88 #A5EC88 #88D7EC
split-complementary
#CF88EC #D7EC88 #88EC9D
monochromatic
#A322D7 #BA53E4 #CF88EC #E4BDF4 #F4E5FB

Accessibility & contrast

On white

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

On black

8.39
#CF88EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF88EC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF88EC#FFFFFF#000000##000000
##CF88EC1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FF0
Deuteranopia (green-blind)
#89A6E9
Tritanopia (blue-blind)
#CE96AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf88ec;
/* rgb */ color: rgb(207, 136, 236);
/* oklch */ color: oklch(73.5% 0.157 315.6);
Tailwind
colors: {
  custom: {
    50: '#dfacf2',
    500: '#cf88ec',
    950: '#000000',
  },
}
SCSS
$custom: #cf88ec;
$custom-light: #dfacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf88ec",
  "rgb": {
    "r": 207,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 282.6,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73539,
    "c": 0.15737,
    "h": 315.6
  },
  "luminance": 0.3693
}

Semantic roles & 50–950 ramp

primary
#CF88EC
secondary
#E0F2D9
accent
#D5114A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF88EC

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

Preview Lab → · Contrast checker → · Palette generator →

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