#CB88FC#CB88FC

#CB88FC is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.9% C 0.174 H 309.4°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#CB88FC
RGBrgb(203, 136, 252)
HSLhsl(275, 95%, 76%)
HSVhsv(275, 46%, 99%)
CMYKcmyk(19.4%, 46%, 0%, 1.2%)
CIE-LABlab(67.53, 46.27, -48.16)
CIE-LCHlch(67.53, 66.79, 313.85°)
OKLaboklab(73.91% 0.1103 -0.1343)
OKLCHoklch(73.91% 0.174 309.4)
XYZxyz(51.0001, 37.3338, 96.5961)
Luminance0.3733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB88FC #B9FC88
analogous
#9188FC #CB88FC #FC88F3
triadic
#CB88FC #FCCB88 #88FCCB
tetradic
#CB88FC #FC9188 #B9FC88 #88F3FC
square
#CB88FC #FC9188 #B9FC88 #88F3FC
split-complementary
#CB88FC #F3FC88 #88FC91
monochromatic
#9711F9 #B14CFA #CB88FC #E5C4FE #F2E1FE

Accessibility & contrast

On white

2.48
#CB88FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#CB88FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB88FC
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB88FC#FFFFFF#000000##000000
##CB88FC1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#7EA6F9
Tritanopia (blue-blind)
#C59BB6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb88fc;
/* rgb */ color: rgb(203, 136, 252);
/* oklch */ color: oklch(73.9% 0.174 309.4);
Tailwind
colors: {
  custom: {
    50: '#ddacfe',
    500: '#cb88fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb88fc;
$custom-light: #ddacfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb88fc",
  "rgb": {
    "r": 203,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 274.655,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73906,
    "c": 0.17375,
    "h": 309.4
  },
  "luminance": 0.37333
}

Semantic roles & 50–950 ramp

primary
#CB88FC
secondary
#E3F6D5
accent
#E60061
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB88FC

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

Preview Lab → · Contrast checker → · Palette generator →

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