#AF30A3#AF30A3

#AF30A3 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.204 H 332.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AF30A3
RGBrgb(175, 48, 163)
HSLhsl(306, 57%, 44%)
HSVhsv(306, 73%, 69%)
CMYKcmyk(0%, 72.6%, 6.9%, 31.4%)
CIE-LABlab(44.05, 62.99, -34.74)
CIE-LCHlch(44.05, 71.93, 331.12°)
OKLaboklab(54.47% 0.1808 -0.0955)
OKLCHoklch(54.47% 0.204 332.2)
XYZxyz(25.3471, 13.8743, 35.9863)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF30A3 #30AF3C
analogous
#7B30AF #AF30A3 #AF3063
triadic
#AF30A3 #A3AF30 #30A3AF
tetradic
#AF30A3 #AF7B30 #30AF3C #3063AF
square
#AF30A3 #AF7B30 #30AF3C #3063AF
split-complementary
#AF30A3 #63AF30 #30AF7B
monochromatic
#4F164A #7F2376 #AF30A3 #CE4EC2 #DC7ED3

Accessibility & contrast

On white

5.56
#AF30A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AF30A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF30A3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF30A3#FFFFFF#000000##FFFFFF
##AF30A31.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA6
Deuteranopia (green-blind)
#596EA0
Tritanopia (blue-blind)
#B63E66
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af30a3;
/* rgb */ color: rgb(175, 48, 163);
/* oklch */ color: oklch(54.5% 0.204 332.2);
Tailwind
colors: {
  custom: {
    50: '#cb75be',
    500: '#af30a3',
    950: '#000000',
  },
}
SCSS
$custom: #af30a3;
$custom-light: #cb75be;
$custom-dark: #000000;
JSON
{
  "hex": "#af30a3",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 305.669,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54467,
    "c": 0.20446,
    "h": 332.2
  },
  "luminance": 0.13872
}

Semantic roles & 50–950 ramp

primary
#AF30A3
secondary
#76C47E
accent
#E05648
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF30A3

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

Preview Lab → · Contrast checker → · Palette generator →

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