#AF34AA#AF34AA

#AF34AA is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.205 H 329.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AF34AA
RGBrgb(175, 52, 170)
HSLhsl(302, 54%, 45%)
HSVhsv(302, 70%, 69%)
CMYKcmyk(0%, 70.3%, 2.9%, 31.4%)
CIE-LABlab(44.91, 62.73, -37.56)
CIE-LCHlch(44.91, 73.11, 329.09°)
OKLaboklab(55.2% 0.1771 -0.1036)
OKLCHoklch(55.2% 0.205 329.7)
XYZxyz(26.1627, 14.4742, 39.4382)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF34AA #34AF39
analogous
#7734AF #AF34AA #AF346D
triadic
#AF34AA #AAAF34 #34AAAF
tetradic
#AF34AA #AF7734 #34AF39 #346DAF
square
#AF34AA #AF7734 #34AF39 #346DAF
split-complementary
#AF34AA #6DAF34 #34AF77
monochromatic
#51184E #80267C #AF34AA #CC54C7 #DA83D7

Accessibility & contrast

On white

5.39
#AF34AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AF34AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF34AA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF34AA#FFFFFF#000000##FFFFFF
##AF34AA1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AD
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#B5446B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af34aa;
/* rgb */ color: rgb(175, 52, 170);
/* oklch */ color: oklch(55.2% 0.205 329.7);
Tailwind
colors: {
  custom: {
    50: '#ca77c4',
    500: '#af34aa',
    950: '#000000',
  },
}
SCSS
$custom: #af34aa;
$custom-light: #ca77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af34aa",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 302.439,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55199,
    "c": 0.20523,
    "h": 329.7
  },
  "luminance": 0.14472
}

Semantic roles & 50–950 ramp

primary
#AF34AA
secondary
#7BC47E
accent
#DE504A
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AF34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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