#CB5CF5#CB5CF5

#CB5CF5 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.5% C 0.232 H 315.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#CB5CF5
RGBrgb(203, 92, 245)
HSLhsl(284, 88%, 66%)
HSVhsv(284, 62%, 96%)
CMYKcmyk(17.1%, 62.4%, 0%, 3.9%)
CIE-LABlab(58.92, 66.56, -57.96)
CIE-LCHlch(58.92, 88.26, 318.95°)
OKLaboklab(67.46% 0.1655 -0.1626)
OKLCHoklch(67.46% 0.232 315.5)
XYZxyz(44.9346, 26.9449, 89.2024)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5CF5 #86F55C
analogous
#7E5CF5 #CB5CF5 #F55CD3
triadic
#CB5CF5 #F5CB5C #5CF5CB
tetradic
#CB5CF5 #F57E5C #86F55C #5CD3F5
square
#CB5CF5 #F57E5C #86F55C #5CD3F5
split-complementary
#CB5CF5 #D3F55C #5CF57E
monochromatic
#960CCA #B922F1 #CB5CF5 #DD96F9 #F0CFFC

Accessibility & contrast

On white

3.29
#CB5CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#CB5CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5CF5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5CF5#FFFFFF#000000##000000
##CB5CF51.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2387FA
Deuteranopia (green-blind)
#5A91F1
Tritanopia (blue-blind)
#C878A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5cf5;
/* rgb */ color: rgb(203, 92, 245);
/* oklch */ color: oklch(67.5% 0.232 315.5);
Tailwind
colors: {
  custom: {
    50: '#de91f9',
    500: '#cb5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #cb5cf5;
$custom-light: #de91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5cf5",
  "rgb": {
    "r": 203,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 283.529,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67462,
    "c": 0.23198,
    "h": 315.5
  },
  "luminance": 0.26943
}

Semantic roles & 50–950 ramp

primary
#CB5CF5
secondary
#CBF0BD
accent
#E5003F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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