#AF46AA#AF46AA

#AF46AA is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.1% C 0.182 H 329.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AF46AA
RGBrgb(175, 70, 170)
HSLhsl(303, 43%, 48%)
HSVhsv(303, 60%, 69%)
CMYKcmyk(0%, 60%, 2.9%, 31.4%)
CIE-LABlab(47.49, 55.51, -33.48)
CIE-LCHlch(47.49, 64.83, 328.91°)
OKLaboklab(57.07% 0.1565 -0.092)
OKLCHoklch(57.07% 0.182 329.5)
XYZxyz(27.1248, 16.3984, 39.7589)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF46AA #46AF4B
analogous
#7F46AF #AF46AA #AF4675
triadic
#AF46AA #AAAF46 #46AAAF
tetradic
#AF46AA #AF7F46 #46AF4B #4675AF
square
#AF46AA #AF7F46 #46AF4B #4675AF
split-complementary
#AF46AA #75AF46 #46AF7F
monochromatic
#582355 #833580 #AF46AA #C56DC1 #D699D3

Accessibility & contrast

On white

4.91
#AF46AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AF46AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF46AA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF46AA#FFFFFF#000000##FFFFFF
##AF46AA1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AD
Deuteranopia (green-blind)
#6176A7
Tritanopia (blue-blind)
#B55171
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af46aa;
/* rgb */ color: rgb(175, 70, 170);
/* oklch */ color: oklch(57.1% 0.182 329.5);
Tailwind
colors: {
  custom: {
    50: '#ca80c3',
    500: '#af46aa',
    950: '#000000',
  },
}
SCSS
$custom: #af46aa;
$custom-light: #ca80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af46aa",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 302.857,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57074,
    "c": 0.18156,
    "h": 329.5
  },
  "luminance": 0.16397
}

Semantic roles & 50–950 ramp

primary
#AF46AA
secondary
#8EC291
accent
#D35B55
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #AF46AA

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

Preview Lab → · Contrast checker → · Palette generator →

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