#CF5EC7#CF5EC7

#CF5EC7 is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.8% C 0.190 H 330.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CF5EC7
RGBrgb(207, 94, 199)
HSLhsl(304, 54%, 59%)
HSVhsv(304, 55%, 81%)
CMYKcmyk(0%, 54.6%, 3.9%, 18.8%)
CIE-LABlab(57.46, 58.19, -34.36)
CIE-LCHlch(57.46, 67.58, 329.44°)
OKLaboklab(65.75% 0.1647 -0.0941)
OKLCHoklch(65.75% 0.19 330.3)
XYZxyz(40.0433, 25.3969, 56.8147)
Luminance0.2539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5EC7 #5ECF66
analogous
#9F5ECF #CF5EC7 #CF5E8F
triadic
#CF5EC7 #C7CF5E #5EC7CF
tetradic
#CF5EC7 #CF9F5E #5ECF66 #5E8FCF
square
#CF5EC7 #CF9F5E #5ECF66 #5E8FCF
split-complementary
#CF5EC7 #8FCF5E #5ECF9F
monochromatic
#8A2983 #B937B0 #CF5EC7 #DD8DD7 #EBBCE8

Accessibility & contrast

On white

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

On black

6.08
#CF5EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5EC7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5EC7#FFFFFF#000000##000000
##CF5EC71.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CA
Deuteranopia (green-blind)
#7A90C4
Tritanopia (blue-blind)
#D6688A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf5ec7;
/* rgb */ color: rgb(207, 94, 199);
/* oklch */ color: oklch(65.8% 0.190 330.3);
Tailwind
colors: {
  custom: {
    50: '#e091d8',
    500: '#cf5ec7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ec7;
$custom-light: #e091d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ec7",
  "rgb": {
    "r": 207,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 304.248,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6575,
    "c": 0.18963,
    "h": 330.3
  },
  "luminance": 0.25394
}

Semantic roles & 50–950 ramp

primary
#CF5EC7
secondary
#AEDBB1
accent
#DD554A
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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