#AF33BD#AF33BD

#AF33BD is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.221 H 323.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AF33BD
RGBrgb(175, 51, 189)
HSLhsl(294, 58%, 47%)
HSVhsv(294, 73%, 74%)
CMYKcmyk(7.4%, 73%, 0%, 25.9%)
CIE-LABlab(45.85, 66.29, -47.23)
CIE-LCHlch(45.85, 81.40, 324.53°)
OKLaboklab(56.22% 0.178 -0.1318)
OKLCHoklch(56.22% 0.221 323.5)
XYZxyz(28.0475, 15.1574, 49.5826)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33BD #41BD33
analogous
#6A33BD #AF33BD #BD3386
triadic
#AF33BD #BDAF33 #33BDAF
tetradic
#AF33BD #BD6A33 #41BD33 #3386BD
square
#AF33BD #BD6A33 #41BD33 #3386BD
split-complementary
#AF33BD #86BD33 #33BD6A
monochromatic
#56195D #82268D #AF33BD #C65BD3 #D78BE0

Accessibility & contrast

On white

5.21
#AF33BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AF33BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33BD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33BD#FFFFFF#000000##FFFFFF
##AF33BD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#4B71BA
Tritanopia (blue-blind)
#B24C76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af33bd;
/* rgb */ color: rgb(175, 51, 189);
/* oklch */ color: oklch(56.2% 0.221 323.5);
Tailwind
colors: {
  custom: {
    50: '#cb77d1',
    500: '#af33bd',
    950: '#000000',
  },
}
SCSS
$custom: #af33bd;
$custom-light: #cb77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af33bd",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 189
  },
  "hsl": {
    "h": 293.913,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56219,
    "c": 0.22143,
    "h": 323.5
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

primary
#AF33BD
secondary
#89CA82
accent
#E14757
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF33BD

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

Preview Lab → · Contrast checker → · Palette generator →

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