#CF52BB#CF52BB

#CF52BB is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.7% C 0.198 H 334.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CF52BB
RGBrgb(207, 82, 187)
HSLhsl(310, 57%, 57%)
HSVhsv(310, 60%, 81%)
CMYKcmyk(0%, 60.4%, 9.7%, 18.8%)
CIE-LABlab(54.96, 61.57, -31.37)
CIE-LCHlch(54.96, 69.11, 333.00°)
OKLaboklab(63.74% 0.1784 -0.0854)
OKLCHoklch(63.74% 0.198 334.4)
XYZxyz(37.7193, 22.8907, 49.4358)
Luminance0.2289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF52BB #52CF66
analogous
#A552CF #CF52BB #CF527D
triadic
#CF52BB #BBCF52 #52BBCF
tetradic
#CF52BB #CFA552 #52CF66 #527DCF
square
#CF52BB #CFA552 #52CF66 #527DCF
split-complementary
#CF52BB #7DCF52 #52CFA5
monochromatic
#822473 #B2319E #CF52BB #DC82CE #EAB2E1

Accessibility & contrast

On white

3.77
#CF52BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CF52BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF52BB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF52BB#FFFFFF#000000##000000
##CF52BB1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BE
Deuteranopia (green-blind)
#788AB8
Tritanopia (blue-blind)
#D85A7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cf52bb;
/* rgb */ color: rgb(207, 82, 187);
/* oklch */ color: oklch(63.7% 0.198 334.4);
Tailwind
colors: {
  custom: {
    50: '#e18acf',
    500: '#cf52bb',
    950: '#000000',
  },
}
SCSS
$custom: #cf52bb;
$custom-light: #e18acf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf52bb",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 309.6,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63742,
    "c": 0.19776,
    "h": 334.4
  },
  "luminance": 0.22888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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