#CF5AC1#CF5AC1

#CF5AC1 is a light, vivid purple. Relative luminance 0.244; OKLCH L 65.0% C 0.191 H 332.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CF5AC1
RGBrgb(207, 90, 193)
HSLhsl(307, 55%, 58%)
HSVhsv(307, 57%, 81%)
CMYKcmyk(0%, 56.5%, 6.8%, 18.8%)
CIE-LABlab(56.52, 59.02, -32.40)
CIE-LCHlch(56.52, 67.33, 331.23°)
OKLaboklab(64.97% 0.169 -0.0884)
OKLCHoklch(64.97% 0.191 332.4)
XYZxyz(39.0139, 24.4307, 53.1025)
Luminance0.2443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AC1 #5ACF68
analogous
#A25ACF #CF5AC1 #CF5A86
triadic
#CF5AC1 #C1CF5A #5AC1CF
tetradic
#CF5AC1 #CFA25A #5ACF68 #5A86CF
square
#CF5AC1 #CFA25A #5ACF68 #5A86CF
split-complementary
#CF5AC1 #86CF5A #5ACFA2
monochromatic
#87277C #B735A7 #CF5AC1 #DD89D3 #EBB9E5

Accessibility & contrast

On white

3.57
#CF5AC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CF5AC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AC1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AC1#FFFFFF#000000##000000
##CF5AC11.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#567DC4
Deuteranopia (green-blind)
#7A8EBE
Tritanopia (blue-blind)
#D76385
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf5ac1;
/* rgb */ color: rgb(207, 90, 193);
/* oklch */ color: oklch(65.0% 0.191 332.4);
Tailwind
colors: {
  custom: {
    50: '#e08ed4',
    500: '#cf5ac1',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ac1;
$custom-light: #e08ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ac1",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 193
  },
  "hsl": {
    "h": 307.179,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6497,
    "c": 0.19076,
    "h": 332.4
  },
  "luminance": 0.24428
}

Semantic roles & 50–950 ramp

primary
#CF5AC1
secondary
#ABDAB1
accent
#DE5B4A
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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