#CF50D9#CF50D9

#CF50D9 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.0% C 0.225 H 324.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CF50D9
RGBrgb(207, 80, 217)
HSLhsl(296, 64%, 58%)
HSVhsv(296, 63%, 85%)
CMYKcmyk(4.6%, 63.1%, 0%, 14.9%)
CIE-LABlab(56.10, 67.38, -46.72)
CIE-LCHlch(56.10, 82.00, 325.26°)
OKLaboklab(65.04% 0.1834 -0.1297)
OKLCHoklch(65.04% 0.225 324.7)
XYZxyz(41.1242, 24.0149, 68.1014)
Luminance0.2401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF50D9 #5AD950
analogous
#8A50D9 #CF50D9 #D9509F
triadic
#CF50D9 #D9CF50 #50D9CF
tetradic
#CF50D9 #D98A50 #5AD950 #509FD9
square
#CF50D9 #D98A50 #5AD950 #509FD9
split-complementary
#CF50D9 #9FD950 #50D98A
monochromatic
#871F8F #B72AC2 #CF50D9 #DD82E4 #EBB5EF

Accessibility & contrast

On white

3.62
#CF50D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CF50D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF50D9
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF50D9#FFFFFF#000000##000000
##CF50D91.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#367DDD
Deuteranopia (green-blind)
#698CD5
Tritanopia (blue-blind)
#D3648E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf50d9;
/* rgb */ color: rgb(207, 80, 217);
/* oklch */ color: oklch(65.0% 0.225 324.7);
Tailwind
colors: {
  custom: {
    50: '#e18ae5',
    500: '#cf50d9',
    950: '#000000',
  },
}
SCSS
$custom: #cf50d9;
$custom-light: #e18ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf50d9",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 217
  },
  "hsl": {
    "h": 295.62,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65043,
    "c": 0.22464,
    "h": 324.7
  },
  "luminance": 0.24012
}

Semantic roles & 50–950 ramp

primary
#CF50D9
secondary
#ABDEA7
accent
#E7404D
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CF50D9

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

Preview Lab → · Contrast checker → · Palette generator →

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