#AF23AA#AF23AA

#AF23AA is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.222 H 329.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AF23AA
RGBrgb(175, 35, 170)
HSLhsl(302, 67%, 41%)
HSVhsv(302, 80%, 69%)
CMYKcmyk(0%, 80%, 2.9%, 31.4%)
CIE-LABlab(43.09, 67.92, -40.43)
CIE-LCHlch(43.09, 79.04, 329.24°)
OKLaboklab(53.9% 0.192 -0.1119)
OKLCHoklch(53.9% 0.222 329.8)
XYZxyz(25.5358, 13.2203, 39.2293)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF23AA #23AF28
analogous
#6E23AF #AF23AA #AF2364
triadic
#AF23AA #AAAF23 #23AAAF
tetradic
#AF23AA #AF6E23 #23AF28 #2364AF
square
#AF23AA #AF6E23 #23AF28 #2364AF
split-complementary
#AF23AA #64AF23 #23AF6E
monochromatic
#490F47 #7C1978 #AF23AA #D738D2 #E16BDD

Accessibility & contrast

On white

5.76
#AF23AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AF23AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF23AA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF23AA#FFFFFF#000000##FFFFFF
##AF23AA1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025AAD
Deuteranopia (green-blind)
#506CA7
Tritanopia (blue-blind)
#B63967
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af23aa;
/* rgb */ color: rgb(175, 35, 170);
/* oklch */ color: oklch(53.9% 0.222 329.8);
Tailwind
colors: {
  custom: {
    50: '#cb70c4',
    500: '#af23aa',
    950: '#000000',
  },
}
SCSS
$custom: #af23aa;
$custom-light: #cb70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af23aa",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 302.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53903,
    "c": 0.22221,
    "h": 329.8
  },
  "luminance": 0.13218
}

Semantic roles & 50–950 ramp

primary
#AF23AA
secondary
#66C76A
accent
#EA443E
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AF23AA

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

Preview Lab → · Contrast checker → · Palette generator →

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