#AF33B6#AF33B6

#AF33B6 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.216 H 325.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF33B6
RGBrgb(175, 51, 182)
HSLhsl(297, 56%, 46%)
HSVhsv(297, 72%, 71%)
CMYKcmyk(3.8%, 72%, 0%, 28.6%)
CIE-LABlab(45.44, 65.08, -43.78)
CIE-LCHlch(45.44, 78.44, 326.07°)
OKLaboklab(55.8% 0.1782 -0.1217)
OKLCHoklch(55.8% 0.216 325.7)
XYZxyz(27.3059, 14.8608, 45.6771)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33B6 #3AB633
analogous
#6D33B6 #AF33B6 #B6337B
triadic
#AF33B6 #B6AF33 #33B6AF
tetradic
#AF33B6 #B66D33 #3AB633 #337BB6
square
#AF33B6 #B66D33 #3AB633 #337BB6
split-complementary
#AF33B6 #7BB633 #33B66D
monochromatic
#531856 #812686 #AF33B6 #C956D0 #D986DD

Accessibility & contrast

On white

5.29
#AF33B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF33B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33B6
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33B6#FFFFFF#000000##FFFFFF
##AF33B61.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E62BA
Deuteranopia (green-blind)
#5071B3
Tritanopia (blue-blind)
#B34972
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af33b6;
/* rgb */ color: rgb(175, 51, 182);
/* oklch */ color: oklch(55.8% 0.216 325.7);
Tailwind
colors: {
  custom: {
    50: '#cb77cc',
    500: '#af33b6',
    950: '#000000',
  },
}
SCSS
$custom: #af33b6;
$custom-light: #cb77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#af33b6",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 182
  },
  "hsl": {
    "h": 296.794,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55798,
    "c": 0.2158,
    "h": 325.7
  },
  "luminance": 0.14859
}

Semantic roles & 50–950 ramp

primary
#AF33B6
secondary
#82C77E
accent
#E04850
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF33B6

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

Preview Lab → · Contrast checker → · Palette generator →

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