#CB52FF#CB52FF

#CB52FF is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 67.0% C 0.254 H 313.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#CB52FF
RGBrgb(203, 82, 255)
HSLhsl(282, 100%, 66%)
HSVhsv(282, 68%, 100%)
CMYKcmyk(20.4%, 67.8%, 0%, 0%)
CIE-LABlab(57.99, 72.76, -65.00)
CIE-LCHlch(57.99, 97.56, 318.22°)
OKLaboklab(66.98% 0.1757 -0.1832)
OKLCHoklch(66.98% 0.254 313.8)
XYZxyz(45.6928, 25.9525, 97.1907)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52FF #86FF52
analogous
#7452FF #CB52FF #FF52DD
triadic
#CB52FF #FFCB52 #52FFCB
tetradic
#CB52FF #FF7452 #86FF52 #52DDFF
square
#CB52FF #FF7452 #86FF52 #52DDFF
split-complementary
#CB52FF #DDFF52 #52FF74
monochromatic
#9600D7 #B915FF #CB52FF #DD8FFF #F0CCFF

Accessibility & contrast

On white

3.39
#CB52FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#CB52FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52FF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52FF#FFFFFF#000000##000000
##CB52FF1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#488EFB
Tritanopia (blue-blind)
#C675A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb52ff;
/* rgb */ color: rgb(203, 82, 255);
/* oklch */ color: oklch(67.0% 0.254 313.8);
Tailwind
colors: {
  custom: {
    50: '#df8bff',
    500: '#cb52ff',
    950: '#000000',
  },
}
SCSS
$custom: #cb52ff;
$custom-light: #df8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52ff",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 281.965,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66981,
    "c": 0.2538,
    "h": 313.8
  },
  "luminance": 0.25951
}

Semantic roles & 50–950 ramp

primary
#CB52FF
secondary
#CBF3BA
accent
#E60045
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB52FF

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

Preview Lab → · Contrast checker → · Palette generator →

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