#AF30AA#AF30AA

#AF30AA is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.210 H 329.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AF30AA
RGBrgb(175, 48, 170)
HSLhsl(302, 57%, 44%)
HSVhsv(302, 73%, 69%)
CMYKcmyk(0%, 72.6%, 2.9%, 31.4%)
CIE-LABlab(44.42, 64.10, -38.32)
CIE-LCHlch(44.42, 74.68, 329.13°)
OKLaboklab(54.85% 0.1811 -0.1058)
OKLCHoklch(54.85% 0.21 329.7)
XYZxyz(25.9917, 14.1321, 39.3812)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF30AA #30AF35
analogous
#7430AF #AF30AA #AF306A
triadic
#AF30AA #AAAF30 #30AAAF
tetradic
#AF30AA #AF7430 #30AF35 #306AAF
square
#AF30AA #AF7430 #30AF35 #306AAF
split-complementary
#AF30AA #6AAF30 #30AF74
monochromatic
#4F164D #7F237B #AF30AA #CE4EC9 #DC7ED8

Accessibility & contrast

On white

5.49
#AF30AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AF30AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF30AA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF30AA#FFFFFF#000000##FFFFFF
##AF30AA1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAD
Deuteranopia (green-blind)
#556FA7
Tritanopia (blue-blind)
#B5416A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af30aa;
/* rgb */ color: rgb(175, 48, 170);
/* oklch */ color: oklch(54.9% 0.210 329.7);
Tailwind
colors: {
  custom: {
    50: '#cb75c4',
    500: '#af30aa',
    950: '#000000',
  },
}
SCSS
$custom: #af30aa;
$custom-light: #cb75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af30aa",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 302.362,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54852,
    "c": 0.20972,
    "h": 329.7
  },
  "luminance": 0.1413
}

Semantic roles & 50–950 ramp

primary
#AF30AA
secondary
#76C47A
accent
#E04E48
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AF30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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