#CB5AFD#CB5AFD

#CB5AFD is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.7% C 0.242 H 313.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#CB5AFD
RGBrgb(203, 90, 253)
HSLhsl(282, 98%, 67%)
HSVhsv(282, 64%, 99%)
CMYKcmyk(19.8%, 64.4%, 0%, 0.8%)
CIE-LABlab(59.07, 69.02, -62.16)
CIE-LCHlch(59.07, 92.89, 317.99°)
OKLaboklab(67.72% 0.1674 -0.1749)
OKLCHoklch(67.72% 0.242 313.8)
XYZxyz(46.0114, 27.1021, 95.7169)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AFD #8CFD5A
analogous
#7A5AFD #CB5AFD #FD5ADE
triadic
#CB5AFD #FDCB5A #5AFDCB
tetradic
#CB5AFD #FD7A5A #8CFD5A #5ADEFD
square
#CB5AFD #FD7A5A #8CFD5A #5ADEFD
split-complementary
#CB5AFD #DEFD5A #5AFD7A
monochromatic
#9803DA #B81EFC #CB5AFD #DE96FE #F1D3FE

Accessibility & contrast

On white

3.27
#CB5AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CB5AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AFD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AFD#FFFFFF#000000##000000
##CB5AFD1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#5291F9
Tritanopia (blue-blind)
#C67AA4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5afd;
/* rgb */ color: rgb(203, 90, 253);
/* oklch */ color: oklch(67.7% 0.242 313.8);
Tailwind
colors: {
  custom: {
    50: '#df90ff',
    500: '#cb5afd',
    950: '#000000',
  },
}
SCSS
$custom: #cb5afd;
$custom-light: #df90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5afd",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 253
  },
  "hsl": {
    "h": 281.595,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67715,
    "c": 0.24211,
    "h": 313.8
  },
  "luminance": 0.27101
}

Semantic roles & 50–950 ramp

primary
#CB5AFD
secondary
#CFF3C0
accent
#E60046
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB5AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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