#CF50C7#CF50C7

#CF50C7 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.1% C 0.210 H 330.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#CF50C7
RGBrgb(207, 80, 199)
HSLhsl(304, 57%, 56%)
HSVhsv(304, 61%, 81%)
CMYKcmyk(0%, 61.4%, 3.9%, 18.8%)
CIE-LABlab(55.20, 64.34, -37.89)
CIE-LCHlch(55.20, 74.67, 329.51°)
OKLaboklab(64.1% 0.1823 -0.1041)
OKLCHoklch(64.1% 0.21 330.3)
XYZxyz(38.9093, 23.1290, 56.4367)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF50C7 #50CF58
analogous
#9850CF #CF50C7 #CF5088
triadic
#CF50C7 #C7CF50 #50C7CF
tetradic
#CF50C7 #CF9850 #50CF58 #5088CF
square
#CF50C7 #CF9850 #50CF58 #5088CF
split-complementary
#CF50C7 #88CF50 #50CF98
monochromatic
#81237B #B131A9 #CF50C7 #DC80D6 #E9B0E6

Accessibility & contrast

On white

3.73
#CF50C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#CF50C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF50C7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF50C7#FFFFFF#000000##000000
##CF50C71.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4779CB
Deuteranopia (green-blind)
#728AC4
Tritanopia (blue-blind)
#D65D84
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cf50c7;
/* rgb */ color: rgb(207, 80, 199);
/* oklch */ color: oklch(64.1% 0.210 330.3);
Tailwind
colors: {
  custom: {
    50: '#e189d8',
    500: '#cf50c7',
    950: '#000000',
  },
}
SCSS
$custom: #cf50c7;
$custom-light: #e189d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf50c7",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 303.78,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.641,
    "c": 0.20989,
    "h": 330.3
  },
  "luminance": 0.23126
}

Semantic roles & 50–950 ramp

primary
#CF50C7
secondary
#A3D8A7
accent
#E05148
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CF50C7

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

Preview Lab → · Contrast checker → · Palette generator →

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