#CF88EF#CF88EF

#CF88EF is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.7% C 0.161 H 314.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#CF88EF
RGBrgb(207, 136, 239)
HSLhsl(281, 76%, 74%)
HSVhsv(281, 43%, 94%)
CMYKcmyk(13.4%, 43.1%, 0%, 6.3%)
CIE-LABlab(67.36, 44.64, -41.27)
CIE-LCHlch(67.36, 60.79, 317.24°)
OKLaboklab(73.68% 0.113 -0.1143)
OKLCHoklch(73.68% 0.161 314.7)
XYZxyz(50.1138, 37.1069, 86.1671)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF88EF #A8EF88
analogous
#9B88EF #CF88EF #EF88DB
triadic
#CF88EF #EFCF88 #88EFCF
tetradic
#CF88EF #EF9B88 #A8EF88 #88DBEF
square
#CF88EF #EF9B88 #A8EF88 #88DBEF
split-complementary
#CF88EF #DBEF88 #88EF9B
monochromatic
#A31EDF #B952E8 #CF88EF #E5BEF6 #F4E4FB

Accessibility & contrast

On white

2.49
#CF88EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#CF88EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF88EF
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF88EF#FFFFFF#000000##000000
##CF88EF1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#CD97B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf88ef;
/* rgb */ color: rgb(207, 136, 239);
/* oklch */ color: oklch(73.7% 0.161 314.7);
Tailwind
colors: {
  custom: {
    50: '#dfacf4',
    500: '#cf88ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf88ef;
$custom-light: #dfacf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf88ef",
  "rgb": {
    "r": 207,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 281.359,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73681,
    "c": 0.16067,
    "h": 314.7
  },
  "luminance": 0.37106
}

Semantic roles & 50–950 ramp

primary
#CF88EF
secondary
#E0F3D8
accent
#D80D4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF88EF

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

Preview Lab → · Contrast checker → · Palette generator →

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