#CB5CF0#CB5CF0

#CB5CF0 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.2% C 0.227 H 316.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#CB5CF0
RGBrgb(203, 92, 240)
HSLhsl(285, 83%, 65%)
HSVhsv(285, 62%, 94%)
CMYKcmyk(15.4%, 61.7%, 0%, 5.9%)
CIE-LABlab(58.64, 65.58, -55.63)
CIE-LCHlch(58.64, 86.00, 319.69°)
OKLaboklab(67.17% 0.1655 -0.1558)
OKLCHoklch(67.17% 0.227 316.7)
XYZxyz(44.1816, 26.6437, 85.2366)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5CF0 #81F05C
analogous
#815CF0 #CB5CF0 #F05CCB
triadic
#CB5CF0 #F0CB5C #5CF0CB
tetradic
#CB5CF0 #F0815C #81F05C #5CCBF0
square
#CB5CF0 #F0815C #81F05C #5CCBF0
split-complementary
#CB5CF0 #CBF05C #5CF081
monochromatic
#9412C0 #B924EB #CB5CF0 #DD94F5 #EFCCFA

Accessibility & contrast

On white

3.32
#CB5CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#CB5CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5CF0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5CF0#FFFFFF#000000##000000
##CB5CF01.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C86F5
Deuteranopia (green-blind)
#5E90EC
Tritanopia (blue-blind)
#C9769E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5cf0;
/* rgb */ color: rgb(203, 92, 240);
/* oklch */ color: oklch(67.2% 0.227 316.7);
Tailwind
colors: {
  custom: {
    50: '#de90f5',
    500: '#cb5cf0',
    950: '#000000',
  },
}
SCSS
$custom: #cb5cf0;
$custom-light: #de90f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5cf0",
  "rgb": {
    "r": 203,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 285,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67169,
    "c": 0.22728,
    "h": 316.7
  },
  "luminance": 0.26642
}

Semantic roles & 50–950 ramp

primary
#CB5CF0
secondary
#C7EDBB
accent
#E0063C
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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