#CF5FC4#CF5FC4

#CF5FC4 is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.7% C 0.186 H 331.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CF5FC4
RGBrgb(207, 95, 196)
HSLhsl(306, 54%, 59%)
HSVhsv(306, 54%, 81%)
CMYKcmyk(0%, 54.1%, 5.3%, 18.8%)
CIE-LABlab(57.50, 57.22, -32.58)
CIE-LCHlch(57.50, 65.85, 330.34°)
OKLaboklab(65.74% 0.1629 -0.089)
OKLCHoklch(65.74% 0.186 331.3)
XYZxyz(39.7879, 25.4380, 55.0282)
Luminance0.2544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FC4 #5FCF6A
analogous
#A25FCF #CF5FC4 #CF5F8C
triadic
#CF5FC4 #C4CF5F #5FC4CF
tetradic
#CF5FC4 #CFA25F #5FCF6A #5F8CCF
square
#CF5FC4 #CFA25F #5FCF6A #5F8CCF
split-complementary
#CF5FC4 #8CCF5F #5FCFA2
monochromatic
#8A2981 #B938AC #CF5FC4 #DD8ED5 #EBBDE7

Accessibility & contrast

On white

3.45
#CF5FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CF5FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FC4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FC4#FFFFFF#000000##000000
##CF5FC41.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A80C7
Deuteranopia (green-blind)
#7C90C1
Tritanopia (blue-blind)
#D66889
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf5fc4;
/* rgb */ color: rgb(207, 95, 196);
/* oklch */ color: oklch(65.7% 0.186 331.3);
Tailwind
colors: {
  custom: {
    50: '#e091d6',
    500: '#cf5fc4',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fc4;
$custom-light: #e091d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fc4",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 305.893,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65736,
    "c": 0.18561,
    "h": 331.3
  },
  "luminance": 0.25435
}

Semantic roles & 50–950 ramp

primary
#CF5FC4
secondary
#AFDBB3
accent
#DD594B
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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