#CD88F2#CD88F2

#CD88F2 is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.6% C 0.163 H 312.9°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#CD88F2
RGBrgb(205, 136, 242)
HSLhsl(279, 80%, 74%)
HSVhsv(279, 44%, 95%)
CMYKcmyk(15.3%, 43.8%, 0%, 5.1%)
CIE-LABlab(67.28, 44.69, -43.06)
CIE-LCHlch(67.28, 62.06, 316.06°)
OKLaboklab(73.62% 0.1111 -0.1195)
OKLCHoklch(73.62% 0.163 312.9)
XYZxyz(50.0053, 36.9993, 88.4945)
Luminance0.3700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD88F2 #ADF288
analogous
#9888F2 #CD88F2 #F288E2
triadic
#CD88F2 #F2CD88 #88F2CD
tetradic
#CD88F2 #F29888 #ADF288 #88E2F2
square
#CD88F2 #F29888 #ADF288 #88E2F2
split-complementary
#CD88F2 #E2F288 #88F298
monochromatic
#9F1AE6 #B651EC #CD88F2 #E4BFF8 #F3E3FC

Accessibility & contrast

On white

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

On black

8.40
#CD88F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD88F2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD88F2#FFFFFF#000000##000000
##CD88F21.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#85A5EF
Tritanopia (blue-blind)
#CA98B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd88f2;
/* rgb */ color: rgb(205, 136, 242);
/* oklch */ color: oklch(73.6% 0.163 312.9);
Tailwind
colors: {
  custom: {
    50: '#deacf7',
    500: '#cd88f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd88f2;
$custom-light: #deacf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd88f2",
  "rgb": {
    "r": 205,
    "g": 136,
    "b": 242
  },
  "hsl": {
    "h": 279.057,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73616,
    "c": 0.16316,
    "h": 312.9
  },
  "luminance": 0.36998
}

Semantic roles & 50–950 ramp

primary
#CD88F2
secondary
#E1F4D7
accent
#DD0953
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD88F2

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

Preview Lab → · Contrast checker → · Palette generator →

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