#CB52DB#CB52DB

#CB52DB is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.8% C 0.222 H 322.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CB52DB
RGBrgb(203, 82, 219)
HSLhsl(293, 66%, 59%)
HSVhsv(293, 63%, 86%)
CMYKcmyk(7.3%, 62.6%, 0%, 14.1%)
CIE-LABlab(55.94, 65.97, -48.16)
CIE-LCHlch(55.94, 81.68, 323.87°)
OKLaboklab(64.84% 0.1768 -0.1339)
OKLCHoklch(64.84% 0.222 322.8)
XYZxyz(40.4308, 23.8477, 69.4776)
Luminance0.2385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52DB #62DB52
analogous
#8752DB #CB52DB #DB52A7
triadic
#CB52DB #DBCB52 #52DBCB
tetradic
#CB52DB #DB8752 #62DB52 #52A7DB
square
#CB52DB #DB8752 #62DB52 #52A7DB
split-complementary
#CB52DB #A7DB52 #52DB87
monochromatic
#861F94 #B429C6 #CB52DB #DA85E6 #E9B7F0

Accessibility & contrast

On white

3.64
#CB52DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CB52DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52DB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52DB#FFFFFF#000000##000000
##CB52DB1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#347DDF
Deuteranopia (green-blind)
#658BD7
Tritanopia (blue-blind)
#CE678F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb52db;
/* rgb */ color: rgb(203, 82, 219);
/* oklch */ color: oklch(64.8% 0.222 322.8);
Tailwind
colors: {
  custom: {
    50: '#de8ae7',
    500: '#cb52db',
    950: '#000000',
  },
}
SCSS
$custom: #cb52db;
$custom-light: #de8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52db",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 292.993,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64841,
    "c": 0.22177,
    "h": 322.8
  },
  "luminance": 0.23846
}

Semantic roles & 50–950 ramp

primary
#CB52DB
secondary
#B0DFAA
accent
#E93F53
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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