#AF33BC#AF33BC

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

Color values

HEX#AF33BC
RGBrgb(175, 51, 188)
HSLhsl(294, 57%, 47%)
HSVhsv(294, 73%, 74%)
CMYKcmyk(6.9%, 72.9%, 0%, 26.3%)
CIE-LABlab(45.79, 66.11, -46.74)
CIE-LCHlch(45.79, 80.97, 324.74°)
OKLaboklab(56.16% 0.178 -0.1303)
OKLCHoklch(56.16% 0.221 323.8)
XYZxyz(27.9393, 15.1142, 49.0129)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33BC #40BC33
analogous
#6B33BC #AF33BC #BC3384
triadic
#AF33BC #BCAF33 #33BCAF
tetradic
#AF33BC #BC6B33 #40BC33 #3384BC
square
#AF33BC #BC6B33 #40BC33 #3384BC
split-complementary
#AF33BC #84BC33 #33BC6B
monochromatic
#55195C #82268C #AF33BC #C75AD2 #D78ADF

Accessibility & contrast

On white

5.22
#AF33BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF33BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33BC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33BC#FFFFFF#000000##FFFFFF
##AF33BC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#4C71B9
Tritanopia (blue-blind)
#B24C75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af33bc;
/* rgb */ color: rgb(175, 51, 188);
/* oklch */ color: oklch(56.2% 0.221 323.8);
Tailwind
colors: {
  custom: {
    50: '#cb77d1',
    500: '#af33bc',
    950: '#000000',
  },
}
SCSS
$custom: #af33bc;
$custom-light: #cb77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af33bc",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 294.307,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56158,
    "c": 0.22062,
    "h": 323.8
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#AF33BC
secondary
#88C981
accent
#E14756
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF33BC

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

Preview Lab → · Contrast checker → · Palette generator →

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