#CD88FE#CD88FE

#CD88FE is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.2% C 0.177 H 309.7°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#CD88FE
RGBrgb(205, 136, 254)
HSLhsl(275, 98%, 76%)
HSVhsv(275, 46%, 100%)
CMYKcmyk(19.3%, 46.5%, 0%, 0.4%)
CIE-LABlab(67.83, 47.25, -48.76)
CIE-LCHlch(67.83, 67.90, 314.10°)
OKLaboklab(74.21% 0.1129 -0.136)
OKLCHoklch(74.21% 0.177 309.7)
XYZxyz(51.8671, 37.7440, 98.2997)
Luminance0.3774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD88FE #B9FE88
analogous
#9288FE #CD88FE #FE88F4
triadic
#CD88FE #FECD88 #88FECD
tetradic
#CD88FE #FE9288 #B9FE88 #88F4FE
square
#CD88FE #FE9288 #B9FE88 #88F4FE
split-complementary
#CD88FE #F4FE88 #88FE92
monochromatic
#9A0FFD #B44BFD #CD88FE #E7C5FF #F2E1FF

Accessibility & contrast

On white

2.46
#CD88FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#CD88FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD88FE
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD88FE#FFFFFF#000000##000000
##CD88FE1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#7EA6FB
Tritanopia (blue-blind)
#C79BB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd88fe;
/* rgb */ color: rgb(205, 136, 254);
/* oklch */ color: oklch(74.2% 0.177 309.7);
Tailwind
colors: {
  custom: {
    50: '#deacff',
    500: '#cd88fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd88fe;
$custom-light: #deacff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd88fe",
  "rgb": {
    "r": 205,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 275.085,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74212,
    "c": 0.17671,
    "h": 309.7
  },
  "luminance": 0.37743
}

Semantic roles & 50–950 ramp

primary
#CD88FE
secondary
#E3F7D4
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD88FE

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

Preview Lab → · Contrast checker → · Palette generator →

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