#CB5FEE#CB5FEE

#CB5FEE is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.4% C 0.221 H 317.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#CB5FEE
RGBrgb(203, 95, 238)
HSLhsl(285, 81%, 65%)
HSVhsv(285, 60%, 93%)
CMYKcmyk(14.7%, 60.1%, 0%, 6.7%)
CIE-LABlab(59.03, 63.85, -53.91)
CIE-LCHlch(59.03, 83.56, 319.82°)
OKLaboklab(67.41% 0.162 -0.1508)
OKLCHoklch(67.41% 0.221 317)
XYZxyz(44.1512, 27.0556, 83.7689)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FEE #82EE5F
analogous
#845FEE #CB5FEE #EE5FC9
triadic
#CB5FEE #EECB5F #5FEECB
tetradic
#CB5FEE #EE845F #82EE5F #5FC9EE
square
#CB5FEE #EE845F #82EE5F #5FC9EE
split-complementary
#CB5FEE #C9EE5F #5FEE84
monochromatic
#9514BE #B928E8 #CB5FEE #DD96F4 #EFCEFA

Accessibility & contrast

On white

3.28
#CB5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#CB5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FEE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FEE#FFFFFF#000000##000000
##CB5FEE1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3587F2
Deuteranopia (green-blind)
#6291EA
Tritanopia (blue-blind)
#CA779E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5fee;
/* rgb */ color: rgb(203, 95, 238);
/* oklch */ color: oklch(67.4% 0.221 317.0);
Tailwind
colors: {
  custom: {
    50: '#de92f4',
    500: '#cb5fee',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fee;
$custom-light: #de92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fee",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 285.315,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67411,
    "c": 0.22127,
    "h": 317
  },
  "luminance": 0.27054
}

Semantic roles & 50–950 ramp

primary
#CB5FEE
secondary
#C8ECBC
accent
#DD083C
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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