#CB88EB#CB88EB

#CB88EB is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.1% C 0.154 H 314.2°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CB88EB
RGBrgb(203, 136, 235)
HSLhsl(281, 71%, 73%)
HSVhsv(281, 42%, 92%)
CMYKcmyk(13.6%, 42.1%, 0%, 7.8%)
CIE-LABlab(66.75, 42.66, -40.05)
CIE-LCHlch(66.75, 58.51, 316.81°)
OKLaboklab(73.07% 0.1076 -0.1108)
OKLCHoklch(73.07% 0.154 314.2)
XYZxyz(48.4257, 36.3041, 83.0375)
Luminance0.3630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB88EB #A8EB88
analogous
#9988EB #CB88EB #EB88D9
triadic
#CB88EB #EBCB88 #88EBCB
tetradic
#CB88EB #EB9988 #A8EB88 #88D9EB
square
#CB88EB #EB9988 #A8EB88 #88D9EB
split-complementary
#CB88EB #D9EB88 #88EB99
monochromatic
#9C24D5 #B454E2 #CB88EB #E2BCF4 #F4E5FB

Accessibility & contrast

On white

2.54
#CB88EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#CB88EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB88EB
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB88EB#FFFFFF#000000##000000
##CB88EB1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#C996AE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb88eb;
/* rgb */ color: rgb(203, 136, 235);
/* oklch */ color: oklch(73.1% 0.154 314.2);
Tailwind
colors: {
  custom: {
    50: '#dcacf2',
    500: '#cb88eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb88eb;
$custom-light: #dcacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb88eb",
  "rgb": {
    "r": 203,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 280.606,
    "s": 71.223,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73073,
    "c": 0.15447,
    "h": 314.2
  },
  "luminance": 0.36303
}

Semantic roles & 50–950 ramp

primary
#CB88EB
secondary
#E1F2D9
accent
#D31251
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB88EB

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

Preview Lab → · Contrast checker → · Palette generator →

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