#AF4AAA#AF4AAA

#AF4AAA is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.6% C 0.176 H 329.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AF4AAA
RGBrgb(175, 74, 170)
HSLhsl(303, 41%, 49%)
HSVhsv(303, 58%, 69%)
CMYKcmyk(0%, 57.7%, 2.9%, 31.4%)
CIE-LABlab(48.15, 53.71, -32.45)
CIE-LCHlch(48.15, 62.75, 328.86°)
OKLaboklab(57.56% 0.1514 -0.0891)
OKLCHoklch(57.56% 0.176 329.5)
XYZxyz(27.3834, 16.9156, 39.8451)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4AAA #4AAF4F
analogous
#824AAF #AF4AAA #AF4A78
triadic
#AF4AAA #AAAF4A #4AAAAF
tetradic
#AF4AAA #AF824A #4AAF4F #4A78AF
square
#AF4AAA #AF824A #4AAF4F #4A78AF
split-complementary
#AF4AAA #78AF4A #4AAF82
monochromatic
#592656 #843880 #AF4AAA #C473C0 #D69ED3

Accessibility & contrast

On white

4.79
#AF4AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AF4AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4AAA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4AAA#FFFFFF#000000##FFFFFF
##AF4AAA1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAD
Deuteranopia (green-blind)
#6377A7
Tritanopia (blue-blind)
#B55473
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af4aaa;
/* rgb */ color: rgb(175, 74, 170);
/* oklch */ color: oklch(57.6% 0.176 329.5);
Tailwind
colors: {
  custom: {
    50: '#c982c3',
    500: '#af4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #af4aaa;
$custom-light: #c982c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4aaa",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 302.97,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57556,
    "c": 0.17563,
    "h": 329.5
  },
  "luminance": 0.16914
}

Semantic roles & 50–950 ramp

primary
#AF4AAA
secondary
#92C295
accent
#D05D57
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #AF4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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