#CB5FEF#CB5FEF

#CB5FEF is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.5% C 0.222 H 316.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#CB5FEF
RGBrgb(203, 95, 239)
HSLhsl(285, 82%, 65%)
HSVhsv(285, 60%, 94%)
CMYKcmyk(15.1%, 60.3%, 0%, 6.3%)
CIE-LABlab(59.08, 64.04, -54.38)
CIE-LCHlch(59.08, 84.01, 319.67°)
OKLaboklab(67.47% 0.162 -0.1521)
OKLCHoklch(67.47% 0.222 316.8)
XYZxyz(44.2985, 27.1146, 84.5448)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FEF #83EF5F
analogous
#835FEF #CB5FEF #EF5FCB
triadic
#CB5FEF #EFCB5F #5FEFCB
tetradic
#CB5FEF #EF835F #83EF5F #5FCBEF
square
#CB5FEF #EF835F #83EF5F #5FCBEF
split-complementary
#CB5FEF #CBEF5F #5FEF83
monochromatic
#9513C0 #B927E9 #CB5FEF #DD97F5 #EFCEFA

Accessibility & contrast

On white

3.27
#CB5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CB5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FEF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FEF#FFFFFF#000000##000000
##CB5FEF1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F3
Deuteranopia (green-blind)
#6291EB
Tritanopia (blue-blind)
#C9789E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5fef;
/* rgb */ color: rgb(203, 95, 239);
/* oklch */ color: oklch(67.5% 0.222 316.8);
Tailwind
colors: {
  custom: {
    50: '#de92f5',
    500: '#cb5fef',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fef;
$custom-light: #de92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fef",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 285,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67468,
    "c": 0.22222,
    "h": 316.8
  },
  "luminance": 0.27113
}

Semantic roles & 50–950 ramp

primary
#CB5FEF
secondary
#C9EDBD
accent
#DE073D
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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