#AF33B0#AF33B0

#AF33B0 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.211 H 327.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF33B0
RGBrgb(175, 51, 176)
HSLhsl(300, 55%, 45%)
HSVhsv(300, 71%, 69%)
CMYKcmyk(0.6%, 71%, 0%, 31%)
CIE-LABlab(45.11, 64.07, -40.79)
CIE-LCHlch(45.11, 75.95, 327.52°)
OKLaboklab(55.45% 0.1783 -0.113)
OKLCHoklch(55.45% 0.211 327.6)
XYZxyz(26.6991, 14.6181, 42.4812)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33B0 #34B033
analogous
#7133B0 #AF33B0 #B03373
triadic
#AF33B0 #B0AF33 #33B0AF
tetradic
#AF33B0 #B07133 #34B033 #3373B0
square
#AF33B0 #B07133 #34B033 #3373B0
split-complementary
#AF33B0 #73B033 #33B071
monochromatic
#511851 #802581 #AF33B0 #CC53CD #DA82DB

Accessibility & contrast

On white

5.35
#AF33B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF33B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33B0
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33B0#FFFFFF#000000##FFFFFF
##AF33B01.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B60B3
Deuteranopia (green-blind)
#5370AD
Tritanopia (blue-blind)
#B4466E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af33b0;
/* rgb */ color: rgb(175, 51, 176);
/* oklch */ color: oklch(55.4% 0.211 327.6);
Tailwind
colors: {
  custom: {
    50: '#cb77c8',
    500: '#af33b0',
    950: '#000000',
  },
}
SCSS
$custom: #af33b0;
$custom-light: #cb77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#af33b0",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 176
  },
  "hsl": {
    "h": 299.52,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.21106,
    "h": 327.6
  },
  "luminance": 0.14616
}

Semantic roles & 50–950 ramp

primary
#AF33B0
secondary
#7BC47B
accent
#DE494B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF33B0

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

Preview Lab → · Contrast checker → · Palette generator →

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