#CF3AC2#CF3AC2

#CF3AC2 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.7% C 0.233 H 331.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CF3AC2
RGBrgb(207, 58, 194)
HSLhsl(305, 61%, 52%)
HSVhsv(305, 72%, 81%)
CMYKcmyk(0%, 72%, 6.3%, 18.8%)
CIE-LABlab(52.05, 71.70, -39.98)
CIE-LCHlch(52.05, 82.09, 330.86°)
OKLaboklab(61.74% 0.2054 -0.1099)
OKLCHoklch(61.74% 0.233 331.8)
XYZxyz(36.9828, 20.1895, 52.9776)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3AC2 #3ACF47
analogous
#923ACF #CF3AC2 #CF3A78
triadic
#CF3AC2 #C2CF3A #3AC2CF
tetradic
#CF3AC2 #CF923A #3ACF47 #3A78CF
square
#CF3AC2 #CF923A #3ACF47 #3A78CF
split-complementary
#CF3AC2 #78CF3A #3ACF92
monochromatic
#731C6B #A42899 #CF3AC2 #DB6BD1 #E79CE0

Accessibility & contrast

On white

4.17
#CF3AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CF3AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3AC2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3AC2#FFFFFF#000000##000000
##CF3AC21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#306FC6
Deuteranopia (green-blind)
#6983BE
Tritanopia (blue-blind)
#D84B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf3ac2;
/* rgb */ color: rgb(207, 58, 194);
/* oklch */ color: oklch(61.7% 0.233 331.8);
Tailwind
colors: {
  custom: {
    50: '#e27ed5',
    500: '#cf3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #cf3ac2;
$custom-light: #e27ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3ac2",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 305.235,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61739,
    "c": 0.23299,
    "h": 331.8
  },
  "luminance": 0.20187
}

Semantic roles & 50–950 ramp

primary
#CF3AC2
secondary
#92D397
accent
#E45244
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CF3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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