#CF5AC2#CF5AC2

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

Color values

HEX#CF5AC2
RGBrgb(207, 90, 194)
HSLhsl(307, 55%, 58%)
HSVhsv(307, 57%, 81%)
CMYKcmyk(0%, 56.5%, 6.3%, 18.8%)
CIE-LABlab(56.56, 59.18, -32.90)
CIE-LCHlch(56.56, 67.71, 330.93°)
OKLaboklab(65.02% 0.1692 -0.0899)
OKLCHoklch(65.02% 0.192 332)
XYZxyz(39.1258, 24.4755, 53.6920)
Luminance0.2447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AC2 #5ACF67
analogous
#A25ACF #CF5AC2 #CF5A87
triadic
#CF5AC2 #C2CF5A #5AC2CF
tetradic
#CF5AC2 #CFA25A #5ACF67 #5A87CF
square
#CF5AC2 #CFA25A #5ACF67 #5A87CF
split-complementary
#CF5AC2 #87CF5A #5ACFA2
monochromatic
#87277D #B735A8 #CF5AC2 #DD89D4 #EBB9E5

Accessibility & contrast

On white

3.56
#CF5AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5AC2#FFFFFF#000000##000000
##CF5AC21.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#567DC5
Deuteranopia (green-blind)
#7A8EBF
Tritanopia (blue-blind)
#D76386
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf5ac2;
/* rgb */ color: rgb(207, 90, 194);
/* oklch */ color: oklch(65.0% 0.192 332.0);
Tailwind
colors: {
  custom: {
    50: '#e08ed4',
    500: '#cf5ac2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ac2;
$custom-light: #e08ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ac2",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 306.667,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65017,
    "c": 0.19157,
    "h": 332
  },
  "luminance": 0.24473
}

Semantic roles & 50–950 ramp

primary
#CF5AC2
secondary
#ABDAB0
accent
#DE5A4A
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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