#CB5DF7#CB5DF7

#CB5DF7 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.7% C 0.233 H 314.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#CB5DF7
RGBrgb(203, 93, 247)
HSLhsl(283, 91%, 67%)
HSVhsv(283, 62%, 97%)
CMYKcmyk(17.8%, 62.3%, 0%, 3.1%)
CIE-LABlab(59.20, 66.52, -58.63)
CIE-LCHlch(59.20, 88.67, 318.60°)
OKLaboklab(67.7% 0.1643 -0.1646)
OKLCHoklch(67.7% 0.233 314.9)
XYZxyz(45.3287, 27.2421, 90.8481)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DF7 #89F75D
analogous
#7E5DF7 #CB5DF7 #F75DD6
triadic
#CB5DF7 #F7CB5D #5DF7CB
tetradic
#CB5DF7 #F77E5D #89F75D #5DD6F7
square
#CB5DF7 #F77E5D #89F75D #5DD6F7
split-complementary
#CB5DF7 #D6F75D #5DF77E
monochromatic
#970ACF #B823F4 #CB5DF7 #DE97FA #F0D2FD

Accessibility & contrast

On white

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

On black

6.45
#CB5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DF7
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DF7#FFFFFF#000000##000000
##CB5DF71.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2288FC
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#C879A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5df7;
/* rgb */ color: rgb(203, 93, 247);
/* oklch */ color: oklch(67.7% 0.233 314.9);
Tailwind
colors: {
  custom: {
    50: '#de91fa',
    500: '#cb5df7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5df7;
$custom-light: #de91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5df7",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 282.857,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67697,
    "c": 0.23254,
    "h": 314.9
  },
  "luminance": 0.27241
}

Semantic roles & 50–950 ramp

primary
#CB5DF7
secondary
#CDF1BF
accent
#E60042
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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