#CF3ABA#CF3ABA

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

Color values

HEX#CF3ABA
RGBrgb(207, 58, 186)
HSLhsl(308, 61%, 52%)
HSVhsv(308, 72%, 81%)
CMYKcmyk(0%, 72%, 10.1%, 18.8%)
CIE-LABlab(51.66, 70.51, -35.96)
CIE-LCHlch(51.66, 79.15, 332.98°)
OKLaboklab(61.33% 0.2049 -0.0984)
OKLCHoklch(61.33% 0.227 334.4)
XYZxyz(36.1085, 19.8398, 48.3726)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3ABA #3ACF4F
analogous
#993ACF #CF3ABA #CF3A70
triadic
#CF3ABA #BACF3A #3ABACF
tetradic
#CF3ABA #CF993A #3ACF4F #3A70CF
square
#CF3ABA #CF993A #3ACF4F #3A70CF
split-complementary
#CF3ABA #70CF3A #3ACF99
monochromatic
#731C66 #A42892 #CF3ABA #DB6BCB #E79CDC

Accessibility & contrast

On white

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

On black

4.97
#CF3ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3ABA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3ABA#FFFFFF#000000##000000
##CF3ABA1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#386DBE
Deuteranopia (green-blind)
#6D83B6
Tritanopia (blue-blind)
#D94776
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf3aba;
/* rgb */ color: rgb(207, 58, 186);
/* oklch */ color: oklch(61.3% 0.227 334.4);
Tailwind
colors: {
  custom: {
    50: '#e27ecf',
    500: '#cf3aba',
    950: '#000000',
  },
}
SCSS
$custom: #cf3aba;
$custom-light: #e27ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3aba",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 308.456,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61326,
    "c": 0.22732,
    "h": 334.4
  },
  "luminance": 0.19837
}

Semantic roles & 50–950 ramp

primary
#CF3ABA
secondary
#92D39B
accent
#E45A44
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CF3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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