#AF33A0#AF33A0

#AF33A0 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.6% C 0.199 H 333.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AF33A0
RGBrgb(175, 51, 160)
HSLhsl(307, 55%, 44%)
HSVhsv(307, 71%, 69%)
CMYKcmyk(0%, 70.9%, 8.6%, 31.4%)
CIE-LABlab(44.26, 61.49, -32.62)
CIE-LCHlch(44.26, 69.60, 332.06°)
OKLaboklab(54.57% 0.1776 -0.0894)
OKLCHoklch(54.57% 0.199 333.3)
XYZxyz(25.2083, 14.0218, 34.6297)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33A0 #33AF42
analogous
#8033AF #AF33A0 #AF3362
triadic
#AF33A0 #A0AF33 #33A0AF
tetradic
#AF33A0 #AF8033 #33AF42 #3362AF
square
#AF33A0 #AF8033 #33AF42 #3362AF
split-complementary
#AF33A0 #62AF33 #33AF80
monochromatic
#501749 #802575 #AF33A0 #CD52BE #DB82D0

Accessibility & contrast

On white

5.52
#AF33A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AF33A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33A0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33A0#FFFFFF#000000##FFFFFF
##AF33A01.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA3
Deuteranopia (green-blind)
#5C6F9D
Tritanopia (blue-blind)
#B73F66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af33a0;
/* rgb */ color: rgb(175, 51, 160);
/* oklch */ color: oklch(54.6% 0.199 333.3);
Tailwind
colors: {
  custom: {
    50: '#ca76bc',
    500: '#af33a0',
    950: '#000000',
  },
}
SCSS
$custom: #af33a0;
$custom-light: #ca76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#af33a0",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 160
  },
  "hsl": {
    "h": 307.258,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5457,
    "c": 0.19881,
    "h": 333.3
  },
  "luminance": 0.1402
}

Semantic roles & 50–950 ramp

primary
#AF33A0
secondary
#7AC483
accent
#DE5C4A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF33A0

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

Preview Lab → · Contrast checker → · Palette generator →

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