#CF52C2#CF52C2

#CF52C2 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.1% C 0.203 H 331.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CF52C2
RGBrgb(207, 82, 194)
HSLhsl(306, 57%, 57%)
HSVhsv(306, 60%, 81%)
CMYKcmyk(0%, 60.4%, 6.3%, 18.8%)
CIE-LABlab(55.28, 62.69, -34.91)
CIE-LCHlch(55.28, 71.75, 330.89°)
OKLaboklab(64.08% 0.1793 -0.0956)
OKLCHoklch(64.08% 0.203 331.9)
XYZxyz(38.4870, 23.1978, 53.4790)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52C2 #52CF5F
analogous
#9E52CF #CF52C2 #CF5284
triadic
#CF52C2 #C2CF52 #52C2CF
tetradic
#CF52C2 #CF9E52 #52CF5F #5284CF
square
#CF52C2 #CF9E52 #52CF5F #5284CF
split-complementary
#CF52C2 #84CF52 #52CF9E
monochromatic
#822479 #B231A5 #CF52C2 #DC82D3 #EAB2E4

Accessibility & contrast

On white

3.72
#CF52C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CF52C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52C2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52C2#FFFFFF#000000##000000
##CF52C21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#758BBF
Tritanopia (blue-blind)
#D75D83
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cf52c2;
/* rgb */ color: rgb(207, 82, 194);
/* oklch */ color: oklch(64.1% 0.203 331.9);
Tailwind
colors: {
  custom: {
    50: '#e18ad5',
    500: '#cf52c2',
    950: '#000000',
  },
}
SCSS
$custom: #cf52c2;
$custom-light: #e18ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52c2",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 306.24,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64076,
    "c": 0.20317,
    "h": 331.9
  },
  "luminance": 0.23195
}

Semantic roles & 50–950 ramp

primary
#CF52C2
secondary
#A5D8AA
accent
#E05848
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CF52C2

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

Preview Lab → · Contrast checker → · Palette generator →

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