#CB52BA#CB52BA

#CB52BA is a light, vivid purple. Relative luminance 0.223; OKLCH L 63.1% C 0.194 H 333.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CB52BA
RGBrgb(203, 82, 186)
HSLhsl(308, 54%, 56%)
HSVhsv(308, 60%, 80%)
CMYKcmyk(0%, 59.6%, 8.4%, 20.4%)
CIE-LABlab(54.32, 60.35, -31.83)
CIE-LCHlch(54.32, 68.23, 332.19°)
OKLaboklab(63.14% 0.174 -0.0868)
OKLCHoklch(63.14% 0.194 333.5)
XYZxyz(36.5089, 22.2790, 48.8222)
Luminance0.2228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52BA #52CB63
analogous
#9F52CB #CB52BA #CB527D
triadic
#CB52BA #BACB52 #52BACB
tetradic
#CB52BA #CB9F52 #52CB63 #527DCB
square
#CB52BA #CB9F52 #52CB63 #527DCB
split-complementary
#CB52BA #7DCB52 #52CB9F
monochromatic
#7D2671 #AC349B #CB52BA #D981CD #E7B0E0

Accessibility & contrast

On white

3.85
#CB52BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CB52BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52BA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52BA#FFFFFF#000000##000000
##CB52BA1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BD
Deuteranopia (green-blind)
#7688B7
Tritanopia (blue-blind)
#D45B7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb52ba;
/* rgb */ color: rgb(203, 82, 186);
/* oklch */ color: oklch(63.1% 0.194 333.5);
Tailwind
colors: {
  custom: {
    50: '#de89cf',
    500: '#cb52ba',
    950: '#000000',
  },
}
SCSS
$custom: #cb52ba;
$custom-light: #de89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52ba",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 308.43,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63142,
    "c": 0.19443,
    "h": 333.5
  },
  "luminance": 0.22276
}

Semantic roles & 50–950 ramp

primary
#CB52BA
secondary
#A3D5AA
accent
#DD5F4B
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150C14
muted
#847D82

Preview Lab

Preview with #CB52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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