#CF52DB#CF52DB

#CF52DB is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.4% C 0.224 H 324.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CF52DB
RGBrgb(207, 82, 219)
HSLhsl(295, 66%, 59%)
HSVhsv(295, 63%, 86%)
CMYKcmyk(5.5%, 62.6%, 0%, 14.1%)
CIE-LABlab(56.50, 66.91, -47.22)
CIE-LCHlch(56.50, 81.90, 324.79°)
OKLaboklab(65.37% 0.1812 -0.1311)
OKLCHoklch(65.37% 0.224 324.1)
XYZxyz(41.5345, 24.4168, 69.5293)
Luminance0.2441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52DB #5EDB52
analogous
#8B52DB #CF52DB #DB52A2
triadic
#CF52DB #DBCF52 #52DBCF
tetradic
#CF52DB #DB8B52 #5EDB52 #52A2DB
square
#CF52DB #DB8B52 #5EDB52 #52A2DB
split-complementary
#CF52DB #A2DB52 #52DB8B
monochromatic
#8A1F94 #B929C6 #CF52DB #DD85E6 #EBB7F0

Accessibility & contrast

On white

3.57
#CF52DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CF52DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52DB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52DB#FFFFFF#000000##000000
##CF52DB1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EDF
Deuteranopia (green-blind)
#698DD7
Tritanopia (blue-blind)
#D3668F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf52db;
/* rgb */ color: rgb(207, 82, 219);
/* oklch */ color: oklch(65.4% 0.224 324.1);
Tailwind
colors: {
  custom: {
    50: '#e18be7',
    500: '#cf52db',
    950: '#000000',
  },
}
SCSS
$custom: #cf52db;
$custom-light: #e18be7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52db",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 294.745,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65367,
    "c": 0.22369,
    "h": 324.1
  },
  "luminance": 0.24414
}

Semantic roles & 50–950 ramp

primary
#CF52DB
secondary
#AEDFAA
accent
#E93F4E
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CF52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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