#CF5FC7#CF5FC7

#CF5FC7 is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.9% C 0.188 H 330.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CF5FC7
RGBrgb(207, 95, 199)
HSLhsl(304, 54%, 59%)
HSVhsv(304, 54%, 81%)
CMYKcmyk(0%, 54.1%, 3.9%, 18.8%)
CIE-LABlab(57.63, 57.73, -34.09)
CIE-LCHlch(57.63, 67.04, 329.44°)
OKLaboklab(65.88% 0.1633 -0.0933)
OKLCHoklch(65.88% 0.188 330.3)
XYZxyz(40.1328, 25.5759, 56.8446)
Luminance0.2557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FC7 #5FCF67
analogous
#9F5FCF #CF5FC7 #CF5F8F
triadic
#CF5FC7 #C7CF5F #5FC7CF
tetradic
#CF5FC7 #CF9F5F #5FCF67 #5F8FCF
square
#CF5FC7 #CF9F5F #5FCF67 #5F8FCF
split-complementary
#CF5FC7 #8FCF5F #5FCF9F
monochromatic
#8A2983 #B938B0 #CF5FC7 #DD8ED7 #EBBDE8

Accessibility & contrast

On white

3.43
#CF5FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CF5FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FC7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FC7#FFFFFF#000000##000000
##CF5FC71.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CA
Deuteranopia (green-blind)
#7B90C4
Tritanopia (blue-blind)
#D6698A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf5fc7;
/* rgb */ color: rgb(207, 95, 199);
/* oklch */ color: oklch(65.9% 0.188 330.3);
Tailwind
colors: {
  custom: {
    50: '#e091d8',
    500: '#cf5fc7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fc7;
$custom-light: #e091d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fc7",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 304.286,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65877,
    "c": 0.18811,
    "h": 330.3
  },
  "luminance": 0.25573
}

Semantic roles & 50–950 ramp

primary
#CF5FC7
secondary
#AFDBB2
accent
#DD554B
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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