#CF52CB#CF52CB

#CF52CB is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.210 H 329.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#CF52CB
RGBrgb(207, 82, 203)
HSLhsl(302, 57%, 57%)
HSVhsv(302, 60%, 81%)
CMYKcmyk(0%, 60.4%, 1.9%, 18.8%)
CIE-LABlab(55.70, 64.17, -39.40)
CIE-LCHlch(55.70, 75.30, 328.45°)
OKLaboklab(64.52% 0.1803 -0.1085)
OKLCHoklch(64.52% 0.21 329)
XYZxyz(39.5285, 23.6144, 58.9644)
Luminance0.2361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52CB #52CF56
analogous
#9552CF #CF52CB #CF528D
triadic
#CF52CB #CBCF52 #52CBCF
tetradic
#CF52CB #CF9552 #52CF56 #528DCF
square
#CF52CB #CF9552 #52CF56 #528DCF
split-complementary
#CF52CB #8DCF52 #52CF95
monochromatic
#82247F #B231AE #CF52CB #DC82D9 #EAB2E8

Accessibility & contrast

On white

3.67
#CF52CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#CF52CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52CB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52CB#FFFFFF#000000##000000
##CF52CB1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BCF
Deuteranopia (green-blind)
#718BC8
Tritanopia (blue-blind)
#D66087
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf52cb;
/* rgb */ color: rgb(207, 82, 203);
/* oklch */ color: oklch(64.5% 0.210 329.0);
Tailwind
colors: {
  custom: {
    50: '#e18adb',
    500: '#cf52cb',
    950: '#000000',
  },
}
SCSS
$custom: #cf52cb;
$custom-light: #e18adb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52cb",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 301.92,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64523,
    "c": 0.21037,
    "h": 329
  },
  "luminance": 0.23612
}

Semantic roles & 50–950 ramp

primary
#CF52CB
secondary
#A5D8A6
accent
#E04D48
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CF52CB

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

Preview Lab → · Contrast checker → · Palette generator →

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