#AF3CA4#AF3CA4

#AF3CA4 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.7% C 0.191 H 331.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF3CA4
RGBrgb(175, 60, 164)
HSLhsl(306, 49%, 46%)
HSVhsv(306, 66%, 69%)
CMYKcmyk(0%, 65.7%, 6.3%, 31.4%)
CIE-LABlab(45.67, 58.73, -32.79)
CIE-LCHlch(45.67, 67.26, 330.83°)
OKLaboklab(55.65% 0.168 -0.0899)
OKLCHoklch(55.65% 0.191 331.8)
XYZxyz(25.9959, 15.0280, 36.6463)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CA4 #3CAF47
analogous
#803CAF #AF3CA4 #AF3C6A
triadic
#AF3CA4 #A4AF3C #3CA4AF
tetradic
#AF3CA4 #AF803C #3CAF47 #3C6AAF
square
#AF3CA4 #AF803C #3CAF47 #3C6AAF
split-complementary
#AF3CA4 #6AAF3C #3CAF80
monochromatic
#541D4F #812C79 #AF3CA4 #C860BE #D88DD1

Accessibility & contrast

On white

5.24
#AF3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF3CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CA4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CA4#FFFFFF#000000##FFFFFF
##AF3CA41.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3662A7
Deuteranopia (green-blind)
#5E72A1
Tritanopia (blue-blind)
#B6476B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3ca4;
/* rgb */ color: rgb(175, 60, 164);
/* oklch */ color: oklch(55.7% 0.191 331.8);
Tailwind
colors: {
  custom: {
    50: '#ca7abf',
    500: '#af3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #af3ca4;
$custom-light: #ca7abf;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ca4",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 305.739,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55654,
    "c": 0.1906,
    "h": 331.8
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

primary
#AF3CA4
secondary
#84C38A
accent
#D85C4F
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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