#CF5AC7#CF5AC7

#CF5AC7 is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.3% C 0.196 H 330.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CF5AC7
RGBrgb(207, 90, 199)
HSLhsl(304, 55%, 58%)
HSVhsv(304, 57%, 81%)
CMYKcmyk(0%, 56.5%, 3.9%, 18.8%)
CIE-LABlab(56.79, 60.01, -35.41)
CIE-LCHlch(56.79, 69.68, 329.46°)
OKLaboklab(65.26% 0.1699 -0.0971)
OKLCHoklch(65.26% 0.196 330.3)
XYZxyz(39.6968, 24.7039, 56.6992)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AC7 #5ACF62
analogous
#9D5ACF #CF5AC7 #CF5A8C
triadic
#CF5AC7 #C7CF5A #5AC7CF
tetradic
#CF5AC7 #CF9D5A #5ACF62 #5A8CCF
square
#CF5AC7 #CF9D5A #5ACF62 #5A8CCF
split-complementary
#CF5AC7 #8CCF5A #5ACF9D
monochromatic
#872781 #B735AE #CF5AC7 #DD89D7 #EBB9E7

Accessibility & contrast

On white

3.54
#CF5AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CF5AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AC7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AC7#FFFFFF#000000##000000
##CF5AC71.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#537ECA
Deuteranopia (green-blind)
#788EC4
Tritanopia (blue-blind)
#D66588
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf5ac7;
/* rgb */ color: rgb(207, 90, 199);
/* oklch */ color: oklch(65.3% 0.196 330.3);
Tailwind
colors: {
  custom: {
    50: '#e08fd8',
    500: '#cf5ac7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ac7;
$custom-light: #e08fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ac7",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 304.103,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65255,
    "c": 0.19564,
    "h": 330.3
  },
  "luminance": 0.24701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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