#AF3BA3#AF3BA3

#AF3BA3 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.5% C 0.191 H 332.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AF3BA3
RGBrgb(175, 59, 163)
HSLhsl(306, 50%, 46%)
HSVhsv(306, 66%, 69%)
CMYKcmyk(0%, 66.3%, 6.9%, 31.4%)
CIE-LABlab(45.48, 58.96, -32.49)
CIE-LCHlch(45.48, 67.32, 331.14°)
OKLaboklab(55.5% 0.1691 -0.0891)
OKLCHoklch(55.5% 0.191 332.2)
XYZxyz(25.8540, 14.8882, 36.1552)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BA3 #3BAF47
analogous
#813BAF #AF3BA3 #AF3B69
triadic
#AF3BA3 #A3AF3B #3BA3AF
tetradic
#AF3BA3 #AF813B #3BAF47 #3B69AF
square
#AF3BA3 #AF813B #3BAF47 #3B69AF
split-complementary
#AF3BA3 #69AF3B #3BAF81
monochromatic
#531C4E #812C78 #AF3BA3 #C95EBE #D88CD0

Accessibility & contrast

On white

5.28
#AF3BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF3BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BA3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BA3#FFFFFF#000000##FFFFFF
##AF3BA31.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A6
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#B6466A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3ba3;
/* rgb */ color: rgb(175, 59, 163);
/* oklch */ color: oklch(55.5% 0.191 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca7abe',
    500: '#af3ba3',
    950: '#000000',
  },
}
SCSS
$custom: #af3ba3;
$custom-light: #ca7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ba3",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 306.207,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55498,
    "c": 0.19114,
    "h": 332.2
  },
  "luminance": 0.14886
}

Semantic roles & 50–950 ramp

primary
#AF3BA3
secondary
#83C38A
accent
#D95D4F
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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