#AF33BB#AF33BB

#AF33BB is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.220 H 324.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AF33BB
RGBrgb(175, 51, 187)
HSLhsl(295, 57%, 47%)
HSVhsv(295, 73%, 73%)
CMYKcmyk(6.4%, 72.7%, 0%, 26.7%)
CIE-LABlab(45.73, 65.94, -46.25)
CIE-LCHlch(45.73, 80.55, 324.95°)
OKLaboklab(56.1% 0.178 -0.1289)
OKLCHoklch(56.1% 0.22 324.1)
XYZxyz(27.8319, 15.0712, 48.4472)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33BB #3FBB33
analogous
#6B33BB #AF33BB #BB3383
triadic
#AF33BB #BBAF33 #33BBAF
tetradic
#AF33BB #BB6B33 #3FBB33 #3383BB
square
#AF33BB #BB6B33 #3FBB33 #3383BB
split-complementary
#AF33BB #83BB33 #33BB6B
monochromatic
#55195B #82268B #AF33BB #C759D2 #D789DF

Accessibility & contrast

On white

5.23
#AF33BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF33BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33BB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33BB#FFFFFF#000000##FFFFFF
##AF33BB1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#4C71B8
Tritanopia (blue-blind)
#B24B74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af33bb;
/* rgb */ color: rgb(175, 51, 187);
/* oklch */ color: oklch(56.1% 0.220 324.1);
Tailwind
colors: {
  custom: {
    50: '#cb77d0',
    500: '#af33bb',
    950: '#000000',
  },
}
SCSS
$custom: #af33bb;
$custom-light: #cb77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af33bb",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 294.706,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56097,
    "c": 0.21981,
    "h": 324.1
  },
  "luminance": 0.15069
}

Semantic roles & 50–950 ramp

primary
#AF33BB
secondary
#87C981
accent
#E04755
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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