#CF5AC4#CF5AC4

#CF5AC4 is a light, vivid purple. Relative luminance 0.246; OKLCH L 65.1% C 0.193 H 331.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CF5AC4
RGBrgb(207, 90, 196)
HSLhsl(306, 55%, 58%)
HSVhsv(306, 57%, 81%)
CMYKcmyk(0%, 56.5%, 5.3%, 18.8%)
CIE-LABlab(56.65, 59.51, -33.91)
CIE-LCHlch(56.65, 68.50, 330.33°)
OKLaboklab(65.11% 0.1695 -0.0928)
OKLCHoklch(65.11% 0.193 331.3)
XYZxyz(39.3519, 24.5659, 54.8829)
Luminance0.2456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AC4 #5ACF65
analogous
#9F5ACF #CF5AC4 #CF5A89
triadic
#CF5AC4 #C4CF5A #5AC4CF
tetradic
#CF5AC4 #CF9F5A #5ACF65 #5A89CF
square
#CF5AC4 #CF9F5A #5ACF65 #5A89CF
split-complementary
#CF5AC4 #89CF5A #5ACF9F
monochromatic
#87277E #B735AA #CF5AC4 #DD89D5 #EBB9E6

Accessibility & contrast

On white

3.55
#CF5AC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CF5AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AC4
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AC4#FFFFFF#000000##000000
##CF5AC41.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#547DC7
Deuteranopia (green-blind)
#798EC1
Tritanopia (blue-blind)
#D76487
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf5ac4;
/* rgb */ color: rgb(207, 90, 196);
/* oklch */ color: oklch(65.1% 0.193 331.3);
Tailwind
colors: {
  custom: {
    50: '#e08fd6',
    500: '#cf5ac4',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ac4;
$custom-light: #e08fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ac4",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 196
  },
  "hsl": {
    "h": 305.641,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65111,
    "c": 0.19319,
    "h": 331.3
  },
  "luminance": 0.24563
}

Semantic roles & 50–950 ramp

primary
#CF5AC4
secondary
#ABDAAF
accent
#DE584A
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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