#CB5BF6#CB5BF6

#CB5BF6 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.4% C 0.234 H 315.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#CB5BF6
RGBrgb(203, 91, 246)
HSLhsl(283, 90%, 66%)
HSVhsv(283, 63%, 96%)
CMYKcmyk(17.5%, 63%, 0%, 3.5%)
CIE-LABlab(58.82, 67.20, -58.68)
CIE-LCHlch(58.82, 89.22, 318.87°)
OKLaboklab(67.41% 0.1666 -0.1647)
OKLCHoklch(67.41% 0.234 315.3)
XYZxyz(45.0016, 26.8341, 89.9799)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BF6 #86F65B
analogous
#7D5BF6 #CB5BF6 #F65BD3
triadic
#CB5BF6 #F6CB5B #5BF6CB
tetradic
#CB5BF6 #F67D5B #86F65B #5BD3F6
square
#CB5BF6 #F67D5B #86F65B #5BD3F6
split-complementary
#CB5BF6 #D3F65B #5BF67D
monochromatic
#960BCB #B921F3 #CB5BF6 #DD95F9 #F0CFFC

Accessibility & contrast

On white

3.30
#CB5BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#CB5BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BF6
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BF6#FFFFFF#000000##000000
##CB5BF61.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D87FB
Deuteranopia (green-blind)
#5991F2
Tritanopia (blue-blind)
#C878A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5bf6;
/* rgb */ color: rgb(203, 91, 246);
/* oklch */ color: oklch(67.4% 0.234 315.3);
Tailwind
colors: {
  custom: {
    50: '#de90fa',
    500: '#cb5bf6',
    950: '#000000',
  },
}
SCSS
$custom: #cb5bf6;
$custom-light: #de90fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5bf6",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 246
  },
  "hsl": {
    "h": 283.355,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67406,
    "c": 0.23425,
    "h": 315.3
  },
  "luminance": 0.26833
}

Semantic roles & 50–950 ramp

primary
#CB5BF6
secondary
#CBF0BD
accent
#E60040
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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