#CF50C1#CF50C1

#CF50C1 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.8% C 0.205 H 332.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CF50C1
RGBrgb(207, 80, 193)
HSLhsl(307, 57%, 56%)
HSVhsv(307, 61%, 81%)
CMYKcmyk(0%, 61.4%, 6.8%, 18.8%)
CIE-LABlab(54.92, 63.37, -34.89)
CIE-LCHlch(54.92, 72.34, 331.17°)
OKLaboklab(63.8% 0.1816 -0.0955)
OKLCHoklch(63.8% 0.205 332.3)
XYZxyz(38.2264, 22.8558, 52.8400)
Luminance0.2285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF50C1 #50CF5E
analogous
#9E50CF #CF50C1 #CF5082
triadic
#CF50C1 #C1CF50 #50C1CF
tetradic
#CF50C1 #CF9E50 #50CF5E #5082CF
square
#CF50C1 #CF9E50 #50CF5E #5082CF
split-complementary
#CF50C1 #82CF50 #50CF9E
monochromatic
#812377 #B131A3 #CF50C1 #DC80D2 #E9B0E3

Accessibility & contrast

On white

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

On black

5.57
#CF50C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF50C1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF50C1#FFFFFF#000000##000000
##CF50C11.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C4
Deuteranopia (green-blind)
#758ABE
Tritanopia (blue-blind)
#D75B81
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf50c1;
/* rgb */ color: rgb(207, 80, 193);
/* oklch */ color: oklch(63.8% 0.205 332.3);
Tailwind
colors: {
  custom: {
    50: '#e189d4',
    500: '#cf50c1',
    950: '#000000',
  },
}
SCSS
$custom: #cf50c1;
$custom-light: #e189d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf50c1",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 193
  },
  "hsl": {
    "h": 306.614,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63804,
    "c": 0.20518,
    "h": 332.3
  },
  "luminance": 0.22853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF50C1

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

Preview Lab → · Contrast checker → · Palette generator →

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