#CB52F2#CB52F2

#CB52F2 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.2% C 0.242 H 316.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#CB52F2
RGBrgb(203, 82, 242)
HSLhsl(285, 86%, 64%)
HSVhsv(285, 66%, 95%)
CMYKcmyk(16.1%, 66.1%, 0%, 5.1%)
CIE-LABlab(57.22, 70.24, -59.03)
CIE-LCHlch(57.22, 91.75, 319.96°)
OKLaboklab(66.18% 0.1765 -0.1657)
OKLCHoklch(66.18% 0.242 316.8)
XYZxyz(43.6705, 25.1436, 86.5400)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52F2 #79F252
analogous
#7B52F2 #CB52F2 #F252C9
triadic
#CB52F2 #F2CB52 #52F2CB
tetradic
#CB52F2 #F27B52 #79F252 #52C9F2
square
#CB52F2 #F27B52 #79F252 #52C9F2
split-complementary
#CB52F2 #C9F252 #52F27B
monochromatic
#910EBC #BA19EE #CB52F2 #DC8BF6 #EDC4FB

Accessibility & contrast

On white

3.48
#CB52F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#CB52F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52F2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52F2#FFFFFF#000000##000000
##CB52F21.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#548DEE
Tritanopia (blue-blind)
#C9709C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb52f2;
/* rgb */ color: rgb(203, 82, 242);
/* oklch */ color: oklch(66.2% 0.242 316.8);
Tailwind
colors: {
  custom: {
    50: '#df8bf7',
    500: '#cb52f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb52f2;
$custom-light: #df8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52f2",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 242
  },
  "hsl": {
    "h": 285.375,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66176,
    "c": 0.24209,
    "h": 316.8
  },
  "luminance": 0.25142
}

Semantic roles & 50–950 ramp

primary
#CB52F2
secondary
#C1ECB4
accent
#E30339
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D17
muted
#847D85

Preview Lab

Preview with #CB52F2

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

Preview Lab → · Contrast checker → · Palette generator →

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