#CB5AF3#CB5AF3

#CB5AF3 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.1% C 0.233 H 316.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#CB5AF3
RGBrgb(203, 90, 243)
HSLhsl(284, 86%, 65%)
HSVhsv(284, 63%, 95%)
CMYKcmyk(16.5%, 63%, 0%, 4.7%)
CIE-LABlab(58.49, 67.05, -57.54)
CIE-LCHlch(58.49, 88.36, 319.36°)
OKLaboklab(67.11% 0.1677 -0.1614)
OKLCHoklch(67.11% 0.233 316.1)
XYZxyz(44.4600, 26.4815, 87.5461)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AF3 #82F35A
analogous
#7F5AF3 #CB5AF3 #F35ACE
triadic
#CB5AF3 #F3CB5A #5AF3CB
tetradic
#CB5AF3 #F37F5A #82F35A #5ACEF3
square
#CB5AF3 #F37F5A #82F35A #5ACEF3
split-complementary
#CB5AF3 #CEF35A #5AF37F
monochromatic
#950EC4 #B921EF #CB5AF3 #DD93F7 #EFCCFB

Accessibility & contrast

On white

3.34
#CB5AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#CB5AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AF3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AF3#FFFFFF#000000##000000
##CB5AF31.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2186F8
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#C9769F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5af3;
/* rgb */ color: rgb(203, 90, 243);
/* oklch */ color: oklch(67.1% 0.233 316.1);
Tailwind
colors: {
  custom: {
    50: '#de8ff8',
    500: '#cb5af3',
    950: '#000000',
  },
}
SCSS
$custom: #cb5af3;
$custom-light: #de8ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5af3",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 284.314,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67114,
    "c": 0.23276,
    "h": 316.1
  },
  "luminance": 0.2648
}

Semantic roles & 50–950 ramp

primary
#CB5AF3
secondary
#C8EEBB
accent
#E3033D
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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