#CF52C7#CF52C7

#CF52C7 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.3% C 0.207 H 330.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CF52C7
RGBrgb(207, 82, 199)
HSLhsl(304, 57%, 57%)
HSVhsv(304, 60%, 81%)
CMYKcmyk(0%, 60.4%, 3.9%, 18.8%)
CIE-LABlab(55.51, 63.50, -37.41)
CIE-LCHlch(55.51, 73.70, 329.50°)
OKLaboklab(64.32% 0.1799 -0.1027)
OKLCHoklch(64.32% 0.207 330.3)
XYZxyz(39.0580, 23.4262, 56.4863)
Luminance0.2342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52C7 #52CF5A
analogous
#9952CF #CF52C7 #CF5289
triadic
#CF52C7 #C7CF52 #52C7CF
tetradic
#CF52C7 #CF9952 #52CF5A #5289CF
square
#CF52C7 #CF9952 #52CF5A #5289CF
split-complementary
#CF52C7 #89CF52 #52CF99
monochromatic
#82247C #B231AA #CF52C7 #DC82D7 #EAB2E6

Accessibility & contrast

On white

3.69
#CF52C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CF52C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52C7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52C7#FFFFFF#000000##000000
##CF52C71.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACB
Deuteranopia (green-blind)
#738BC4
Tritanopia (blue-blind)
#D65F85
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf52c7;
/* rgb */ color: rgb(207, 82, 199);
/* oklch */ color: oklch(64.3% 0.207 330.3);
Tailwind
colors: {
  custom: {
    50: '#e18ad8',
    500: '#cf52c7',
    950: '#000000',
  },
}
SCSS
$custom: #cf52c7;
$custom-light: #e18ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52c7",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 303.84,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64322,
    "c": 0.20714,
    "h": 330.3
  },
  "luminance": 0.23424
}

Semantic roles & 50–950 ramp

primary
#CF52C7
secondary
#A5D8A8
accent
#E05248
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CF52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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