#AF3BA0#AF3BA0

#AF3BA0 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.3% C 0.189 H 333.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AF3BA0
RGBrgb(175, 59, 160)
HSLhsl(308, 50%, 46%)
HSVhsv(308, 66%, 69%)
CMYKcmyk(0%, 66.3%, 8.6%, 31.4%)
CIE-LABlab(45.33, 58.48, -30.94)
CIE-LCHlch(45.33, 66.16, 332.12°)
OKLaboklab(55.34% 0.1688 -0.0846)
OKLCHoklch(55.34% 0.189 333.4)
XYZxyz(25.5884, 14.7820, 34.7564)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BA0 #3BAF4A
analogous
#843BAF #AF3BA0 #AF3B66
triadic
#AF3BA0 #A0AF3B #3BA0AF
tetradic
#AF3BA0 #AF843B #3BAF4A #3B66AF
square
#AF3BA0 #AF843B #3BAF4A #3B66AF
split-complementary
#AF3BA0 #66AF3B #3BAF84
monochromatic
#531C4C #812C76 #AF3BA0 #C95EBB #D88CCE

Accessibility & contrast

On white

5.31
#AF3BA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AF3BA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BA0
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BA0#FFFFFF#000000##FFFFFF
##AF3BA01.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3861A3
Deuteranopia (green-blind)
#5F719D
Tritanopia (blue-blind)
#B74568
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3ba0;
/* rgb */ color: rgb(175, 59, 160);
/* oklch */ color: oklch(55.3% 0.189 333.4);
Tailwind
colors: {
  custom: {
    50: '#ca7abc',
    500: '#af3ba0',
    950: '#000000',
  },
}
SCSS
$custom: #af3ba0;
$custom-light: #ca7abc;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ba0",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 160
  },
  "hsl": {
    "h": 307.759,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55344,
    "c": 0.18883,
    "h": 333.4
  },
  "luminance": 0.1478
}

Semantic roles & 50–950 ramp

primary
#AF3BA0
secondary
#83C38B
accent
#D9614F
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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