#CF5EC5#CF5EC5

#CF5EC5 is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.7% C 0.188 H 331.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CF5EC5
RGBrgb(207, 94, 197)
HSLhsl(305, 54%, 59%)
HSVhsv(305, 55%, 81%)
CMYKcmyk(0%, 54.6%, 4.8%, 18.8%)
CIE-LABlab(57.37, 57.85, -33.36)
CIE-LCHlch(57.37, 66.78, 330.03°)
OKLaboklab(65.66% 0.1644 -0.0912)
OKLCHoklch(65.66% 0.188 331)
XYZxyz(39.8126, 25.3046, 55.5998)
Luminance0.2530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5EC5 #5ECF68
analogous
#A15ECF #CF5EC5 #CF5E8D
triadic
#CF5EC5 #C5CF5E #5EC5CF
tetradic
#CF5EC5 #CFA15E #5ECF68 #5E8DCF
square
#CF5EC5 #CFA15E #5ECF68 #5E8DCF
split-complementary
#CF5EC5 #8DCF5E #5ECFA1
monochromatic
#8A2981 #B937AD #CF5EC5 #DD8DD6 #EBBCE7

Accessibility & contrast

On white

3.47
#CF5EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#CF5EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5EC5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5EC5#FFFFFF#000000##000000
##CF5EC51.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5880C8
Deuteranopia (green-blind)
#7B8FC2
Tritanopia (blue-blind)
#D66889
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf5ec5;
/* rgb */ color: rgb(207, 94, 197);
/* oklch */ color: oklch(65.7% 0.188 331.0);
Tailwind
colors: {
  custom: {
    50: '#e091d7',
    500: '#cf5ec5',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ec5;
$custom-light: #e091d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ec5",
  "rgb": {
    "r": 207,
    "g": 94,
    "b": 197
  },
  "hsl": {
    "h": 305.31,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65656,
    "c": 0.18797,
    "h": 331
  },
  "luminance": 0.25302
}

Semantic roles & 50–950 ramp

primary
#CF5EC5
secondary
#AEDBB2
accent
#DD574A
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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