#CD88FC#CD88FC

#CD88FC is a light, vivid violet. Relative luminance 0.376; OKLCH L 74.1% C 0.174 H 310.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#CD88FC
RGBrgb(205, 136, 252)
HSLhsl(276, 95%, 76%)
HSVhsv(276, 46%, 99%)
CMYKcmyk(18.7%, 46%, 0%, 1.2%)
CIE-LABlab(67.74, 46.82, -47.82)
CIE-LCHlch(67.74, 66.92, 314.39°)
OKLaboklab(74.11% 0.1126 -0.1332)
OKLCHoklch(74.11% 0.174 310.2)
XYZxyz(51.5485, 37.6166, 96.6218)
Luminance0.3762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD88FC #B7FC88
analogous
#9388FC #CD88FC #FC88F1
triadic
#CD88FC #FCCD88 #88FCCD
tetradic
#CD88FC #FC9388 #B7FC88 #88F1FC
square
#CD88FC #FC9388 #B7FC88 #88F1FC
split-complementary
#CD88FC #F1FC88 #88FC93
monochromatic
#9B11F9 #B44CFA #CD88FC #E6C4FE #F2E1FE

Accessibility & contrast

On white

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

On black

8.52
#CD88FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD88FC
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD88FC#FFFFFF#000000##000000
##CD88FC1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#80A6F9
Tritanopia (blue-blind)
#C79AB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd88fc;
/* rgb */ color: rgb(205, 136, 252);
/* oklch */ color: oklch(74.1% 0.174 310.2);
Tailwind
colors: {
  custom: {
    50: '#deacfe',
    500: '#cd88fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd88fc;
$custom-light: #deacfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd88fc",
  "rgb": {
    "r": 205,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 275.69,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74111,
    "c": 0.17444,
    "h": 310.2
  },
  "luminance": 0.37616
}

Semantic roles & 50–950 ramp

primary
#CD88FC
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD88FC

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

Preview Lab → · Contrast checker → · Palette generator →

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