#CB52CD#CB52CD

#CB52CD is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.1% C 0.210 H 327.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#CB52CD
RGBrgb(203, 82, 205)
HSLhsl(299, 55%, 56%)
HSVhsv(299, 60%, 80%)
CMYKcmyk(1%, 60%, 0%, 19.6%)
CIE-LABlab(55.22, 63.51, -41.34)
CIE-LCHlch(55.22, 75.78, 326.94°)
OKLaboklab(64.09% 0.176 -0.1142)
OKLCHoklch(64.09% 0.21 327)
XYZxyz(38.6647, 23.1413, 60.1760)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52CD #54CD52
analogous
#8E52CD #CB52CD #CD5292
triadic
#CB52CD #CDCB52 #52CDCB
tetradic
#CB52CD #CD8E52 #54CD52 #5292CD
square
#CB52CD #CD8E52 #54CD52 #5292CD
split-complementary
#CB52CD #92CD52 #52CD8E
monochromatic
#7E2580 #AD33AF #CB52CD #D981DB #E8B1E8

Accessibility & contrast

On white

3.73
#CB52CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#CB52CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52CD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52CD#FFFFFF#000000##000000
##CB52CD1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#427AD1
Deuteranopia (green-blind)
#6D8ACA
Tritanopia (blue-blind)
#D16288
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb52cd;
/* rgb */ color: rgb(203, 82, 205);
/* oklch */ color: oklch(64.1% 0.210 327.0);
Tailwind
colors: {
  custom: {
    50: '#de8add',
    500: '#cb52cd',
    950: '#000000',
  },
}
SCSS
$custom: #cb52cd;
$custom-light: #de8add;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52cd",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 299.024,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64087,
    "c": 0.20982,
    "h": 327
  },
  "luminance": 0.23139
}

Semantic roles & 50–950 ramp

primary
#CB52CD
secondary
#A5D7A4
accent
#DE494C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150C15
muted
#847D83

Preview Lab

Preview with #CB52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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