#CF52BD#CF52BD

#CF52BD is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.8% C 0.199 H 333.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#CF52BD
RGBrgb(207, 82, 189)
HSLhsl(309, 57%, 57%)
HSVhsv(309, 60%, 81%)
CMYKcmyk(0%, 60.4%, 8.7%, 18.8%)
CIE-LABlab(55.05, 61.89, -32.39)
CIE-LCHlch(55.05, 69.85, 332.38°)
OKLaboklab(63.84% 0.1786 -0.0883)
OKLCHoklch(63.84% 0.199 333.7)
XYZxyz(37.9349, 22.9770, 50.5713)
Luminance0.2297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52BD #52CF64
analogous
#A352CF #CF52BD #CF527F
triadic
#CF52BD #BDCF52 #52BDCF
tetradic
#CF52BD #CFA352 #52CF64 #527FCF
square
#CF52BD #CFA352 #52CF64 #527FCF
split-complementary
#CF52BD #7FCF52 #52CFA3
monochromatic
#822475 #B231A0 #CF52BD #DC82CF #EAB2E2

Accessibility & contrast

On white

3.75
#CF52BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#CF52BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52BD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52BD#FFFFFF#000000##000000
##CF52BD1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078C0
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#D85B80
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cf52bd;
/* rgb */ color: rgb(207, 82, 189);
/* oklch */ color: oklch(63.8% 0.199 333.7);
Tailwind
colors: {
  custom: {
    50: '#e18ad1',
    500: '#cf52bd',
    950: '#000000',
  },
}
SCSS
$custom: #cf52bd;
$custom-light: #e18ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52bd",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 308.64,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63836,
    "c": 0.19929,
    "h": 333.7
  },
  "luminance": 0.22974
}

Semantic roles & 50–950 ramp

primary
#CF52BD
secondary
#A5D8AC
accent
#E05E48
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CF52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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