#CF3AB9#CF3AB9

#CF3AB9 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.3% C 0.227 H 334.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CF3AB9
RGBrgb(207, 58, 185)
HSLhsl(309, 61%, 52%)
HSVhsv(309, 72%, 81%)
CMYKcmyk(0%, 72%, 10.6%, 18.8%)
CIE-LABlab(51.61, 70.36, -35.45)
CIE-LCHlch(51.61, 78.79, 333.26°)
OKLaboklab(61.28% 0.2049 -0.0969)
OKLCHoklch(61.28% 0.227 334.7)
XYZxyz(36.0025, 19.7974, 47.8147)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3AB9 #3ACF50
analogous
#9B3ACF #CF3AB9 #CF3A6F
triadic
#CF3AB9 #B9CF3A #3AB9CF
tetradic
#CF3AB9 #CF9B3A #3ACF50 #3A6FCF
square
#CF3AB9 #CF9B3A #3ACF50 #3A6FCF
split-complementary
#CF3AB9 #6FCF3A #3ACF9B
monochromatic
#731C66 #A42892 #CF3AB9 #DB6BCA #E79CDC

Accessibility & contrast

On white

4.23
#CF3AB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CF3AB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3AB9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3AB9#FFFFFF#000000##000000
##CF3AB91.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#386DBD
Deuteranopia (green-blind)
#6E83B5
Tritanopia (blue-blind)
#D94676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf3ab9;
/* rgb */ color: rgb(207, 58, 185);
/* oklch */ color: oklch(61.3% 0.227 334.7);
Tailwind
colors: {
  custom: {
    50: '#e27ece',
    500: '#cf3ab9',
    950: '#000000',
  },
}
SCSS
$custom: #cf3ab9;
$custom-light: #e27ece;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3ab9",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 308.859,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61276,
    "c": 0.22663,
    "h": 334.7
  },
  "luminance": 0.19794
}

Semantic roles & 50–950 ramp

primary
#CF3AB9
secondary
#92D39B
accent
#E45B44
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF3AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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