#AF33C0#AF33C0

#AF33C0 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.224 H 322.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AF33C0
RGBrgb(175, 51, 192)
HSLhsl(293, 58%, 48%)
HSVhsv(293, 73%, 75%)
CMYKcmyk(8.9%, 73.4%, 0%, 24.7%)
CIE-LABlab(46.03, 66.82, -48.70)
CIE-LCHlch(46.03, 82.68, 323.91°)
OKLaboklab(56.4% 0.1778 -0.1361)
OKLCHoklch(56.4% 0.224 322.6)
XYZxyz(28.3765, 15.2890, 51.3154)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF33C0 #44C033
analogous
#6833C0 #AF33C0 #C0338A
triadic
#AF33C0 #C0AF33 #33C0AF
tetradic
#AF33C0 #C06833 #44C033 #338AC0
square
#AF33C0 #C06833 #44C033 #338AC0
split-complementary
#AF33C0 #8AC033 #33C068
monochromatic
#57195F #832690 #AF33C0 #C55CD4 #D78DE1

Accessibility & contrast

On white

5.18
#AF33C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF33C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF33C0
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF33C0#FFFFFF#000000##FFFFFF
##AF33C01.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#B14D77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af33c0;
/* rgb */ color: rgb(175, 51, 192);
/* oklch */ color: oklch(56.4% 0.224 322.6);
Tailwind
colors: {
  custom: {
    50: '#cb77d4',
    500: '#af33c0',
    950: '#000000',
  },
}
SCSS
$custom: #af33c0;
$custom-light: #cb77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#af33c0",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 192
  },
  "hsl": {
    "h": 292.766,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56403,
    "c": 0.22388,
    "h": 322.6
  },
  "luminance": 0.15287
}

Semantic roles & 50–950 ramp

primary
#AF33C0
secondary
#8CCB84
accent
#E14759
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF33C0

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

Preview Lab → · Contrast checker → · Palette generator →

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