#CB5FD9#CB5FD9

#CB5FD9 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.3% C 0.202 H 322.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CB5FD9
RGBrgb(203, 95, 217)
HSLhsl(293, 62%, 61%)
HSVhsv(293, 56%, 85%)
CMYKcmyk(6.5%, 56.2%, 0%, 14.9%)
CIE-LABlab(57.94, 59.85, -43.86)
CIE-LCHlch(57.94, 74.20, 323.76°)
OKLaboklab(66.26% 0.1609 -0.1216)
OKLCHoklch(66.26% 0.202 322.9)
XYZxyz(41.2440, 25.8928, 68.4575)
Luminance0.2589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FD9 #6DD95F
analogous
#8E5FD9 #CB5FD9 #D95FAA
triadic
#CB5FD9 #D9CB5F #5FD9CB
tetradic
#CB5FD9 #D98E5F #6DD95F #5FAAD9
square
#CB5FD9 #D98E5F #6DD95F #5FAAD9
split-complementary
#CB5FD9 #AAD95F #5FD98E
monochromatic
#8C2499 #B930CB #CB5FD9 #DB90E5 #EBC2F0

Accessibility & contrast

On white

3.40
#CB5FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CB5FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FD9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FD9#FFFFFF#000000##000000
##CB5FD91.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DD
Deuteranopia (green-blind)
#6F90D6
Tritanopia (blue-blind)
#CE7093
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5fd9;
/* rgb */ color: rgb(203, 95, 217);
/* oklch */ color: oklch(66.3% 0.202 322.9);
Tailwind
colors: {
  custom: {
    50: '#de92e5',
    500: '#cb5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fd9;
$custom-light: #de92e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fd9",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 293.115,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66263,
    "c": 0.20167,
    "h": 322.9
  },
  "luminance": 0.25891
}

Semantic roles & 50–950 ramp

primary
#CB5FD9
secondary
#B8E1B3
accent
#C91C30
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CB5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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