#CF5FD1#CF5FD1

#CF5FD1 is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.4% C 0.197 H 326.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CF5FD1
RGBrgb(207, 95, 209)
HSLhsl(299, 55%, 60%)
HSVhsv(299, 55%, 82%)
CMYKcmyk(1%, 54.5%, 0%, 18%)
CIE-LABlab(58.09, 59.46, -39.06)
CIE-LCHlch(58.09, 71.14, 326.70°)
OKLaboklab(66.36% 0.1646 -0.1076)
OKLCHoklch(66.36% 0.197 326.8)
XYZxyz(41.3322, 26.0557, 63.1614)
Luminance0.2605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FD1 #61D15F
analogous
#965FD1 #CF5FD1 #D15F9A
triadic
#CF5FD1 #D1CF5F #5FD1CF
tetradic
#CF5FD1 #D1965F #61D15F #5F9AD1
square
#CF5FD1 #D1965F #61D15F #5F9AD1
split-complementary
#CF5FD1 #9AD15F #5FD196
monochromatic
#8B298D #BA36BD #CF5FD1 #DD8FDF #ECBEEC

Accessibility & contrast

On white

3.38
#CF5FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CF5FD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FD1
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FD1#FFFFFF#000000##000000
##CF5FD11.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5282D5
Deuteranopia (green-blind)
#7691CE
Tritanopia (blue-blind)
#D46D8F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf5fd1;
/* rgb */ color: rgb(207, 95, 209);
/* oklch */ color: oklch(66.4% 0.197 326.8);
Tailwind
colors: {
  custom: {
    50: '#e092df',
    500: '#cf5fd1',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fd1;
$custom-light: #e092df;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fd1",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 209
  },
  "hsl": {
    "h": 298.947,
    "s": 55.34,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66362,
    "c": 0.19668,
    "h": 326.8
  },
  "luminance": 0.26053
}

Semantic roles & 50–950 ramp

primary
#CF5FD1
secondary
#B1DCB0
accent
#DF494C
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF5FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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