#CB5FEC#CB5FEC

#CB5FEC is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.3% C 0.219 H 317.6°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#CB5FEC
RGBrgb(203, 95, 236)
HSLhsl(286, 79%, 65%)
HSVhsv(286, 60%, 93%)
CMYKcmyk(14%, 59.7%, 0%, 7.5%)
CIE-LABlab(58.92, 63.46, -52.96)
CIE-LCHlch(58.92, 82.65, 320.15°)
OKLaboklab(67.3% 0.1619 -0.148)
OKLCHoklch(67.3% 0.219 317.6)
XYZxyz(43.8590, 26.9388, 82.2300)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FEC #80EC5F
analogous
#845FEC #CB5FEC #EC5FC7
triadic
#CB5FEC #ECCB5F #5FECCB
tetradic
#CB5FEC #EC845F #80EC5F #5FC7EC
square
#CB5FEC #EC845F #80EC5F #5FC7EC
split-complementary
#CB5FEC #C7EC5F #5FEC84
monochromatic
#9416BA #B928E6 #CB5FEC #DD96F2 #EFCCF9

Accessibility & contrast

On white

3.29
#CB5FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#CB5FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FEC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FEC#FFFFFF#000000##000000
##CB5FEC1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#CA779D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5fec;
/* rgb */ color: rgb(203, 95, 236);
/* oklch */ color: oklch(67.3% 0.219 317.6);
Tailwind
colors: {
  custom: {
    50: '#de92f3',
    500: '#cb5fec',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fec;
$custom-light: #de92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fec",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 285.957,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67298,
    "c": 0.21938,
    "h": 317.6
  },
  "luminance": 0.26937
}

Semantic roles & 50–950 ramp

primary
#CB5FEC
secondary
#C7EBBB
accent
#DB0A3B
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CB5FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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