#CB88FE#CB88FE

#CB88FE is a light, vivid violet. Relative luminance 0.375; OKLCH L 74.0% C 0.176 H 308.9°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#CB88FE
RGBrgb(203, 136, 254)
HSLhsl(274, 98%, 76%)
HSVhsv(274, 46%, 100%)
CMYKcmyk(20.1%, 46.5%, 0%, 0.4%)
CIE-LABlab(67.62, 46.71, -49.11)
CIE-LCHlch(67.62, 67.77, 313.57°)
OKLaboklab(74.01% 0.1105 -0.137)
OKLCHoklch(74.01% 0.176 308.9)
XYZxyz(51.3187, 37.4613, 98.2740)
Luminance0.3746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB88FE #BBFE88
analogous
#9088FE #CB88FE #FE88F6
triadic
#CB88FE #FECB88 #88FECB
tetradic
#CB88FE #FE9088 #BBFE88 #88F6FE
square
#CB88FE #FE9088 #BBFE88 #88F6FE
split-complementary
#CB88FE #F6FE88 #88FE90
monochromatic
#960FFD #B04BFD #CB88FE #E6C5FF #F2E1FF

Accessibility & contrast

On white

2.47
#CB88FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#CB88FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB88FE
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB88FE#FFFFFF#000000##000000
##CB88FE1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#7DA6FB
Tritanopia (blue-blind)
#C49BB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb88fe;
/* rgb */ color: rgb(203, 136, 254);
/* oklch */ color: oklch(74.0% 0.176 308.9);
Tailwind
colors: {
  custom: {
    50: '#ddacff',
    500: '#cb88fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb88fe;
$custom-light: #ddacff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb88fe",
  "rgb": {
    "r": 203,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 274.068,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74008,
    "c": 0.17604,
    "h": 308.9
  },
  "luminance": 0.37461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB88FE

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

Preview Lab → · Contrast checker → · Palette generator →

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