#CF5AC9#CF5AC9

#CF5AC9 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.4% C 0.197 H 329.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CF5AC9
RGBrgb(207, 90, 201)
HSLhsl(303, 55%, 58%)
HSVhsv(303, 57%, 81%)
CMYKcmyk(0%, 56.5%, 2.9%, 18.8%)
CIE-LABlab(56.88, 60.35, -36.41)
CIE-LCHlch(56.88, 70.48, 328.90°)
OKLaboklab(65.35% 0.1701 -0.0999)
OKLCHoklch(65.35% 0.197 329.6)
XYZxyz(39.9305, 24.7974, 57.9302)
Luminance0.2480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AC9 #5ACF60
analogous
#9A5ACF #CF5AC9 #CF5A8E
triadic
#CF5AC9 #C9CF5A #5AC9CF
tetradic
#CF5AC9 #CF9A5A #5ACF60 #5A8ECF
square
#CF5AC9 #CF9A5A #5ACF60 #5A8ECF
split-complementary
#CF5AC9 #8ECF5A #5ACF9A
monochromatic
#872782 #B735B0 #CF5AC9 #DD89D9 #EBB9E8

Accessibility & contrast

On white

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

On black

5.96
#CF5AC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AC9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AC9#FFFFFF#000000##000000
##CF5AC91.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECC
Deuteranopia (green-blind)
#778EC6
Tritanopia (blue-blind)
#D66689
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf5ac9;
/* rgb */ color: rgb(207, 90, 201);
/* oklch */ color: oklch(65.4% 0.197 329.6);
Tailwind
colors: {
  custom: {
    50: '#e08fda',
    500: '#cf5ac9',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ac9;
$custom-light: #e08fda;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ac9",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 201
  },
  "hsl": {
    "h": 303.077,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65352,
    "c": 0.1973,
    "h": 329.6
  },
  "luminance": 0.24795
}

Semantic roles & 50–950 ramp

primary
#CF5AC9
secondary
#ABDAAD
accent
#DE514A
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF5AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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