#CF5FED#CF5FED

#CF5FED is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 67.8% C 0.222 H 318.6°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#CF5FED
RGBrgb(207, 95, 237)
HSLhsl(287, 80%, 65%)
HSVhsv(287, 60%, 93%)
CMYKcmyk(12.7%, 59.9%, 0%, 7.1%)
CIE-LABlab(59.49, 64.60, -52.57)
CIE-LCHlch(59.49, 83.29, 320.86°)
OKLaboklab(67.84% 0.1666 -0.1468)
OKLCHoklch(67.84% 0.222 318.6)
XYZxyz(45.1084, 27.5661, 83.0490)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FED #7DED5F
analogous
#885FED #CF5FED #ED5FC4
triadic
#CF5FED #EDCF5F #5FEDCF
tetradic
#CF5FED #ED885F #7DED5F #5FC4ED
square
#CF5FED #ED885F #7DED5F #5FC4ED
split-complementary
#CF5FED #C4ED5F #5FED88
monochromatic
#9915BC #BE28E7 #CF5FED #E096F3 #F0CDF9

Accessibility & contrast

On white

3.22
#CF5FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#CF5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FED
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FED#FFFFFF#000000##000000
##CF5FED1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F1
Deuteranopia (green-blind)
#6793E9
Tritanopia (blue-blind)
#CF769D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5fed;
/* rgb */ color: rgb(207, 95, 237);
/* oklch */ color: oklch(67.8% 0.222 318.6);
Tailwind
colors: {
  custom: {
    50: '#e192f3',
    500: '#cf5fed',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fed;
$custom-light: #e192f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fed",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 287.324,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67844,
    "c": 0.22204,
    "h": 318.6
  },
  "luminance": 0.27564
}

Semantic roles & 50–950 ramp

primary
#CF5FED
secondary
#C6ECBC
accent
#DC0936
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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