#CF5BC7#CF5BC7

#CF5BC7 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.4% C 0.194 H 330.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CF5BC7
RGBrgb(207, 91, 199)
HSLhsl(304, 55%, 58%)
HSVhsv(304, 56%, 81%)
CMYKcmyk(0%, 56%, 3.9%, 18.8%)
CIE-LABlab(56.95, 59.56, -35.15)
CIE-LCHlch(56.95, 69.16, 329.45°)
OKLaboklab(65.38% 0.1686 -0.0963)
OKLCHoklch(65.38% 0.194 330.3)
XYZxyz(39.7817, 24.8737, 56.7275)
Luminance0.2487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BC7 #5BCF63
analogous
#9D5BCF #CF5BC7 #CF5B8D
triadic
#CF5BC7 #C7CF5B #5BC7CF
tetradic
#CF5BC7 #CF9D5B #5BCF63 #5B8DCF
square
#CF5BC7 #CF9D5B #5BCF63 #5B8DCF
split-complementary
#CF5BC7 #8DCF5B #5BCF9D
monochromatic
#882881 #B736AE #CF5BC7 #DD8AD7 #EBBAE7

Accessibility & contrast

On white

3.52
#CF5BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CF5BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BC7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BC7#FFFFFF#000000##000000
##CF5BC71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547ECA
Deuteranopia (green-blind)
#788EC4
Tritanopia (blue-blind)
#D66689
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf5bc7;
/* rgb */ color: rgb(207, 91, 199);
/* oklch */ color: oklch(65.4% 0.194 330.3);
Tailwind
colors: {
  custom: {
    50: '#e08fd8',
    500: '#cf5bc7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bc7;
$custom-light: #e08fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bc7",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 304.138,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65377,
    "c": 0.19415,
    "h": 330.3
  },
  "luminance": 0.24871
}

Semantic roles & 50–950 ramp

primary
#CF5BC7
secondary
#ACDAAF
accent
#DE544A
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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