#AF33B3#AF33B3

#AF33B3 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.213 H 326.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF33B3
RGBrgb(175, 51, 179)
HSLhsl(298, 56%, 45%)
HSVhsv(298, 72%, 70%)
CMYKcmyk(2.2%, 71.5%, 0%, 29.8%)
CIE-LABlab(45.27, 64.57, -42.29)
CIE-LCHlch(45.27, 77.19, 326.78°)
OKLaboklab(55.62% 0.1782 -0.1174)
OKLCHoklch(55.62% 0.213 326.6)
XYZxyz(26.9992, 14.7381, 44.0618)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33B3 #37B333
analogous
#6F33B3 #AF33B3 #B33377
triadic
#AF33B3 #B3AF33 #33B3AF
tetradic
#AF33B3 #B36F33 #37B333 #3377B3
square
#AF33B3 #B36F33 #37B333 #3377B3
split-complementary
#AF33B3 #77B333 #33B36F
monochromatic
#521854 #802583 #AF33B3 #CB55CE #D984DC

Accessibility & contrast

On white

5.32
#AF33B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AF33B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33B3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33B3#FFFFFF#000000##FFFFFF
##AF33B31.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1661B7
Deuteranopia (green-blind)
#5171B0
Tritanopia (blue-blind)
#B44770
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af33b3;
/* rgb */ color: rgb(175, 51, 179);
/* oklch */ color: oklch(55.6% 0.213 326.6);
Tailwind
colors: {
  custom: {
    50: '#cb77ca',
    500: '#af33b3',
    950: '#000000',
  },
}
SCSS
$custom: #af33b3;
$custom-light: #cb77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#af33b3",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 298.125,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55622,
    "c": 0.21341,
    "h": 326.6
  },
  "luminance": 0.14736
}

Semantic roles & 50–950 ramp

primary
#AF33B3
secondary
#7FC67C
accent
#DF494E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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