#AF3BAA#AF3BAA

#AF3BAA is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.9% C 0.197 H 329.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AF3BAA
RGBrgb(175, 59, 170)
HSLhsl(303, 50%, 46%)
HSVhsv(303, 66%, 69%)
CMYKcmyk(0%, 66.3%, 2.9%, 31.4%)
CIE-LABlab(45.83, 60.11, -36.09)
CIE-LCHlch(45.83, 70.11, 329.02°)
OKLaboklab(55.87% 0.1697 -0.0995)
OKLCHoklch(55.87% 0.197 329.6)
XYZxyz(26.4987, 15.1461, 39.5502)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BAA #3BAF40
analogous
#7A3BAF #AF3BAA #AF3B70
triadic
#AF3BAA #AAAF3B #3BAAAF
tetradic
#AF3BAA #AF7A3B #3BAF40 #3B70AF
square
#AF3BAA #AF7A3B #3BAF40 #3B70AF
split-complementary
#AF3BAA #70AF3B #3BAF7A
monochromatic
#531C51 #812C7E #AF3BAA #C95EC4 #D88CD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3BAA#FFFFFF#000000##FFFFFF
##AF3BAA1.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)
#2F62AD
Deuteranopia (green-blind)
#5B72A7
Tritanopia (blue-blind)
#B5496E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af3baa;
/* rgb */ color: rgb(175, 59, 170);
/* oklch */ color: oklch(55.9% 0.197 329.6);
Tailwind
colors: {
  custom: {
    50: '#ca7ac4',
    500: '#af3baa',
    950: '#000000',
  },
}
SCSS
$custom: #af3baa;
$custom-light: #ca7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3baa",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 302.586,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55869,
    "c": 0.19666,
    "h": 329.6
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#AF3BAA
secondary
#83C386
accent
#D9554F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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