#CD88F6#CD88F6

#CD88F6 is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.8% C 0.168 H 311.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#CD88F6
RGBrgb(205, 136, 246)
HSLhsl(278, 86%, 75%)
HSVhsv(278, 45%, 96%)
CMYKcmyk(16.7%, 44.7%, 0%, 3.5%)
CIE-LABlab(67.46, 45.53, -44.97)
CIE-LCHlch(67.46, 64.00, 315.36°)
OKLaboklab(73.81% 0.1118 -0.125)
OKLCHoklch(73.81% 0.168 311.8)
XYZxyz(50.6126, 37.2422, 91.6932)
Luminance0.3724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD88F6 #B1F688
analogous
#9688F6 #CD88F6 #F688E8
triadic
#CD88F6 #F6CD88 #88F6CD
tetradic
#CD88F6 #F69688 #B1F688 #88E8F6
square
#CD88F6 #F69688 #B1F688 #88E8F6
split-complementary
#CD88F6 #E8F688 #88F696
monochromatic
#9D16ED #B54FF2 #CD88F6 #E5C1FA #F3E3FD

Accessibility & contrast

On white

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

On black

8.45
#CD88F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD88F6
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD88F6#FFFFFF#000000##000000
##CD88F61.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FA
Deuteranopia (green-blind)
#83A6F3
Tritanopia (blue-blind)
#C999B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd88f6;
/* rgb */ color: rgb(205, 136, 246);
/* oklch */ color: oklch(73.8% 0.168 311.8);
Tailwind
colors: {
  custom: {
    50: '#deacf9',
    500: '#cd88f6',
    950: '#000000',
  },
}
SCSS
$custom: #cd88f6;
$custom-light: #deacf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd88f6",
  "rgb": {
    "r": 205,
    "g": 136,
    "b": 246
  },
  "hsl": {
    "h": 277.636,
    "s": 85.938,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73812,
    "c": 0.16766,
    "h": 311.8
  },
  "luminance": 0.37241
}

Semantic roles & 50–950 ramp

primary
#CD88F6
secondary
#E2F5D6
accent
#E20356
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD88F6

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

Preview Lab → · Contrast checker → · Palette generator →

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