#CB52DF#CB52DF

#CB52DF is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.1% C 0.225 H 321.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CB52DF
RGBrgb(203, 82, 223)
HSLhsl(291, 69%, 60%)
HSVhsv(291, 63%, 87%)
CMYKcmyk(9%, 63.2%, 0%, 12.5%)
CIE-LABlab(56.15, 66.69, -50.08)
CIE-LCHlch(56.15, 83.40, 323.10°)
OKLaboklab(65.06% 0.1768 -0.1395)
OKLCHoklch(65.06% 0.225 321.7)
XYZxyz(40.9637, 24.0609, 72.2842)
Luminance0.2406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52DF #66DF52
analogous
#8452DF #CB52DF #DF52AD
triadic
#CB52DF #DFCB52 #52DFCB
tetradic
#CB52DF #DF8452 #66DF52 #52ADDF
square
#CB52DF #DF8452 #66DF52 #52ADDF
split-complementary
#CB52DF #ADDF52 #52DF84
monochromatic
#881D9A #B626CE #CB52DF #DB86E9 #EAB9F2

Accessibility & contrast

On white

3.61
#CB52DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CB52DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52DF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52DF#FFFFFF#000000##000000
##CB52DF1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7EE3
Deuteranopia (green-blind)
#638BDB
Tritanopia (blue-blind)
#CD6992
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb52df;
/* rgb */ color: rgb(203, 82, 223);
/* oklch */ color: oklch(65.1% 0.225 321.7);
Tailwind
colors: {
  custom: {
    50: '#de8ae9',
    500: '#cb52df',
    950: '#000000',
  },
}
SCSS
$custom: #cb52df;
$custom-light: #de8ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52df",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 291.489,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65064,
    "c": 0.22526,
    "h": 321.7
  },
  "luminance": 0.24059
}

Semantic roles & 50–950 ramp

primary
#CB52DF
secondary
#B3E2AB
accent
#EC3C55
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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