#CB5DF6#CB5DF6

#CB5DF6 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.6% C 0.232 H 315.2°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#CB5DF6
RGBrgb(203, 93, 246)
HSLhsl(283, 89%, 66%)
HSVhsv(283, 62%, 96%)
CMYKcmyk(17.5%, 62.2%, 0%, 3.5%)
CIE-LABlab(59.14, 66.32, -58.17)
CIE-LCHlch(59.14, 88.21, 318.75°)
OKLaboklab(67.64% 0.1643 -0.1632)
OKLCHoklch(67.64% 0.232 315.2)
XYZxyz(45.1749, 27.1806, 90.0376)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DF6 #88F65D
analogous
#7F5DF6 #CB5DF6 #F65DD5
triadic
#CB5DF6 #F6CB5D #5DF6CB
tetradic
#CB5DF6 #F67F5D #88F65D #5DD5F6
square
#CB5DF6 #F67F5D #88F65D #5DD5F6
split-complementary
#CB5DF6 #D5F65D #5DF67F
monochromatic
#970BCD #B823F3 #CB5DF6 #DE97F9 #F0D1FC

Accessibility & contrast

On white

3.26
#CB5DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#CB5DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DF6
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DF6#FFFFFF#000000##000000
##CB5DF61.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2488FB
Deuteranopia (green-blind)
#5B91F2
Tritanopia (blue-blind)
#C879A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5df6;
/* rgb */ color: rgb(203, 93, 246);
/* oklch */ color: oklch(67.6% 0.232 315.2);
Tailwind
colors: {
  custom: {
    50: '#de91fa',
    500: '#cb5df6',
    950: '#000000',
  },
}
SCSS
$custom: #cb5df6;
$custom-light: #de91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5df6",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 283.137,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67638,
    "c": 0.23159,
    "h": 315.2
  },
  "luminance": 0.27179
}

Semantic roles & 50–950 ramp

primary
#CB5DF6
secondary
#CDF0BF
accent
#E60041
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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