#CF52BC#CF52BC

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

Color values

HEX#CF52BC
RGBrgb(207, 82, 188)
HSLhsl(309, 57%, 57%)
HSVhsv(309, 60%, 81%)
CMYKcmyk(0%, 60.4%, 9.2%, 18.8%)
CIE-LABlab(55.00, 61.73, -31.88)
CIE-LCHlch(55.00, 69.48, 332.69°)
OKLaboklab(63.79% 0.1785 -0.0869)
OKLCHoklch(63.79% 0.199 334)
XYZxyz(37.8267, 22.9337, 50.0016)
Luminance0.2293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52BC #52CF65
analogous
#A452CF #CF52BC #CF527E
triadic
#CF52BC #BCCF52 #52BCCF
tetradic
#CF52BC #CFA452 #52CF65 #527ECF
square
#CF52BC #CFA452 #52CF65 #527ECF
split-complementary
#CF52BC #7ECF52 #52CFA4
monochromatic
#822474 #B2319F #CF52BC #DC82CF #EAB2E1

Accessibility & contrast

On white

3.76
#CF52BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF52BC#FFFFFF#000000##000000
##CF52BC1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078BF
Deuteranopia (green-blind)
#788AB9
Tritanopia (blue-blind)
#D85B80
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cf52bc;
/* rgb */ color: rgb(207, 82, 188);
/* oklch */ color: oklch(63.8% 0.199 334.0);
Tailwind
colors: {
  custom: {
    50: '#e18ad0',
    500: '#cf52bc',
    950: '#000000',
  },
}
SCSS
$custom: #cf52bc;
$custom-light: #e18ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52bc",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 309.12,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63789,
    "c": 0.19853,
    "h": 334
  },
  "luminance": 0.22931
}

Semantic roles & 50–950 ramp

primary
#CF52BC
secondary
#A5D8AD
accent
#E05F48
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CF52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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