#CF52D1#CF52D1

#CF52D1 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.8% C 0.215 H 327.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CF52D1
RGBrgb(207, 82, 209)
HSLhsl(299, 58%, 57%)
HSVhsv(299, 61%, 82%)
CMYKcmyk(1%, 60.8%, 0%, 18%)
CIE-LABlab(55.99, 65.18, -42.36)
CIE-LCHlch(55.99, 77.73, 326.98°)
OKLaboklab(64.83% 0.1807 -0.117)
OKLCHoklch(64.83% 0.215 327.1)
XYZxyz(40.2574, 23.9060, 62.8031)
Luminance0.2390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52D1 #54D152
analogous
#9052D1 #CF52D1 #D15294
triadic
#CF52D1 #D1CF52 #52D1CF
tetradic
#CF52D1 #D19052 #54D152 #5294D1
square
#CF52D1 #D19052 #54D152 #5294D1
split-complementary
#CF52D1 #94D152 #52D190
monochromatic
#842385 #B330B6 #CF52D1 #DC82DE #EAB3EB

Accessibility & contrast

On white

3.63
#CF52D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CF52D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52D1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52D1#FFFFFF#000000##000000
##CF52D11.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#417CD5
Deuteranopia (green-blind)
#6E8CCE
Tritanopia (blue-blind)
#D5638A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf52d1;
/* rgb */ color: rgb(207, 82, 209);
/* oklch */ color: oklch(64.8% 0.215 327.1);
Tailwind
colors: {
  custom: {
    50: '#e18adf',
    500: '#cf52d1',
    950: '#000000',
  },
}
SCSS
$custom: #cf52d1;
$custom-light: #e18adf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52d1",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 299.055,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64832,
    "c": 0.21529,
    "h": 327.1
  },
  "luminance": 0.23903
}

Semantic roles & 50–950 ramp

primary
#CF52D1
secondary
#A6D9A6
accent
#E14749
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CF52D1

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

Preview Lab → · Contrast checker → · Palette generator →

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