#CB5AF1#CB5AF1

#CB5AF1 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.0% C 0.231 H 316.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CB5AF1
RGBrgb(203, 90, 241)
HSLhsl(285, 84%, 65%)
HSVhsv(285, 63%, 95%)
CMYKcmyk(15.8%, 62.7%, 0%, 5.5%)
CIE-LABlab(58.38, 66.66, -56.61)
CIE-LCHlch(58.38, 87.45, 319.66°)
OKLaboklab(67% 0.1678 -0.1586)
OKLCHoklch(67% 0.231 316.6)
XYZxyz(44.1596, 26.3614, 85.9641)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AF1 #80F15A
analogous
#805AF1 #CB5AF1 #F15ACB
triadic
#CB5AF1 #F1CB5A #5AF1CB
tetradic
#CB5AF1 #F1805A #80F15A #5ACBF1
square
#CB5AF1 #F1805A #80F15A #5ACBF1
split-complementary
#CB5AF1 #CBF15A #5AF180
monochromatic
#9410C0 #B922EC #CB5AF1 #DD92F6 #EFCBFB

Accessibility & contrast

On white

3.35
#CB5AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CB5AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AF1
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AF1#FFFFFF#000000##000000
##CB5AF11.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2585F6
Deuteranopia (green-blind)
#5C90ED
Tritanopia (blue-blind)
#C9759E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5af1;
/* rgb */ color: rgb(203, 90, 241);
/* oklch */ color: oklch(67.0% 0.231 316.6);
Tailwind
colors: {
  custom: {
    50: '#de8ff6',
    500: '#cb5af1',
    950: '#000000',
  },
}
SCSS
$custom: #cb5af1;
$custom-light: #de8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5af1",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 241
  },
  "hsl": {
    "h": 284.901,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66996,
    "c": 0.2309,
    "h": 316.6
  },
  "luminance": 0.2636
}

Semantic roles & 50–950 ramp

primary
#CB5AF1
secondary
#C7EDBA
accent
#E1053C
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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