#CB5BF2#CB5BF2

#CB5BF2 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.2% C 0.231 H 316.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CB5BF2
RGBrgb(203, 91, 242)
HSLhsl(285, 85%, 65%)
HSVhsv(285, 62%, 95%)
CMYKcmyk(16.1%, 62.4%, 0%, 5.1%)
CIE-LABlab(58.59, 66.42, -56.82)
CIE-LCHlch(58.59, 87.41, 319.45°)
OKLaboklab(67.17% 0.1666 -0.1593)
OKLCHoklch(67.17% 0.231 316.3)
XYZxyz(44.3943, 26.5911, 86.7813)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BF2 #82F25B
analogous
#7F5BF2 #CB5BF2 #F25BCE
triadic
#CB5BF2 #F2CB5B #5BF2CB
tetradic
#CB5BF2 #F27F5B #82F25B #5BCEF2
square
#CB5BF2 #F27F5B #82F25B #5BCEF2
split-complementary
#CB5BF2 #CEF25B #5BF27F
monochromatic
#950FC3 #B922EE #CB5BF2 #DD94F6 #EFCCFB

Accessibility & contrast

On white

3.32
#CB5BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#CB5BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BF2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BF2#FFFFFF#000000##000000
##CB5BF21.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2686F7
Deuteranopia (green-blind)
#5C90EE
Tritanopia (blue-blind)
#C9769F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5bf2;
/* rgb */ color: rgb(203, 91, 242);
/* oklch */ color: oklch(67.2% 0.231 316.3);
Tailwind
colors: {
  custom: {
    50: '#de90f7',
    500: '#cb5bf2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5bf2;
$custom-light: #de90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5bf2",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 284.503,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6717,
    "c": 0.2305,
    "h": 316.3
  },
  "luminance": 0.26589
}

Semantic roles & 50–950 ramp

primary
#CB5BF2
secondary
#C8EEBB
accent
#E2043D
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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