#CF3AB7#CF3AB7

#CF3AB7 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.2% C 0.225 H 335.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CF3AB7
RGBrgb(207, 58, 183)
HSLhsl(310, 61%, 52%)
HSVhsv(310, 72%, 81%)
CMYKcmyk(0%, 72%, 11.6%, 18.8%)
CIE-LABlab(51.51, 70.07, -34.44)
CIE-LCHlch(51.51, 78.08, 333.83°)
OKLaboklab(61.18% 0.2047 -0.094)
OKLCHoklch(61.18% 0.225 335.3)
XYZxyz(35.7929, 19.7136, 46.7106)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3AB7 #3ACF52
analogous
#9C3ACF #CF3AB7 #CF3A6D
triadic
#CF3AB7 #B7CF3A #3AB7CF
tetradic
#CF3AB7 #CF9C3A #3ACF52 #3A6DCF
square
#CF3AB7 #CF9C3A #3ACF52 #3A6DCF
split-complementary
#CF3AB7 #6DCF3A #3ACF9C
monochromatic
#731C65 #A42890 #CF3AB7 #DB6BC9 #E79CDB

Accessibility & contrast

On white

4.25
#CF3AB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CF3AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3AB7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3AB7#FFFFFF#000000##000000
##CF3AB71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6DBA
Deuteranopia (green-blind)
#6F83B3
Tritanopia (blue-blind)
#D94574
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf3ab7;
/* rgb */ color: rgb(207, 58, 183);
/* oklch */ color: oklch(61.2% 0.225 335.3);
Tailwind
colors: {
  custom: {
    50: '#e27ecd',
    500: '#cf3ab7',
    950: '#000000',
  },
}
SCSS
$custom: #cf3ab7;
$custom-light: #e27ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3ab7",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 309.664,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61176,
    "c": 0.22524,
    "h": 335.3
  },
  "luminance": 0.1971
}

Semantic roles & 50–950 ramp

primary
#CF3AB7
secondary
#92D39C
accent
#E45E44
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF3AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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