#CF3AC4#CF3AC4

#CF3AC4 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.8% C 0.234 H 331.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CF3AC4
RGBrgb(207, 58, 196)
HSLhsl(304, 61%, 52%)
HSVhsv(304, 72%, 81%)
CMYKcmyk(0%, 72%, 5.3%, 18.8%)
CIE-LABlab(52.15, 72.01, -40.97)
CIE-LCHlch(52.15, 82.85, 330.36°)
OKLaboklab(61.85% 0.2055 -0.1128)
OKLCHoklch(61.85% 0.234 331.2)
XYZxyz(37.2090, 20.2800, 54.1685)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3AC4 #3ACF45
analogous
#903ACF #CF3AC4 #CF3A79
triadic
#CF3AC4 #C4CF3A #3AC4CF
tetradic
#CF3AC4 #CF903A #3ACF45 #3A79CF
square
#CF3AC4 #CF903A #3ACF45 #3A79CF
split-complementary
#CF3AC4 #79CF3A #3ACF90
monochromatic
#731C6C #A4289B #CF3AC4 #DB6BD3 #E79CE1

Accessibility & contrast

On white

4.15
#CF3AC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CF3AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3AC4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3AC4#FFFFFF#000000##000000
##CF3AC41.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6FC8
Deuteranopia (green-blind)
#6884C0
Tritanopia (blue-blind)
#D74C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf3ac4;
/* rgb */ color: rgb(207, 58, 196);
/* oklch */ color: oklch(61.8% 0.234 331.2);
Tailwind
colors: {
  custom: {
    50: '#e27ed6',
    500: '#cf3ac4',
    950: '#000000',
  },
}
SCSS
$custom: #cf3ac4;
$custom-light: #e27ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3ac4",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 304.43,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61845,
    "c": 0.23444,
    "h": 331.2
  },
  "luminance": 0.20277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF3AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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