#AF3AB8#AF3AB8

#AF3AB8 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.209 H 324.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AF3AB8
RGBrgb(175, 58, 184)
HSLhsl(296, 52%, 47%)
HSVhsv(296, 68%, 72%)
CMYKcmyk(4.9%, 68.5%, 0%, 27.8%)
CIE-LABlab(46.45, 62.90, -43.35)
CIE-LCHlch(46.45, 76.39, 325.42°)
OKLaboklab(56.56% 0.1712 -0.1205)
OKLCHoklch(56.56% 0.209 324.8)
XYZxyz(27.8433, 15.6025, 46.8831)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AB8 #43B83A
analogous
#703AB8 #AF3AB8 #B83A82
triadic
#AF3AB8 #B8AF3A #3AB8AF
tetradic
#AF3AB8 #B8703A #43B83A #3A82B8
square
#AF3AB8 #B8703A #43B83A #3A82B8
split-complementary
#AF3AB8 #82B83A #3AB870
monochromatic
#561D5B #832B89 #AF3AB8 #C662CD #D790DC

Accessibility & contrast

On white

5.10
#AF3AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AF3AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AB8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AB8#FFFFFF#000000##FFFFFF
##AF3AB81.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C65BC
Deuteranopia (green-blind)
#5273B5
Tritanopia (blue-blind)
#B34E75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3ab8;
/* rgb */ color: rgb(175, 58, 184);
/* oklch */ color: oklch(56.6% 0.209 324.8);
Tailwind
colors: {
  custom: {
    50: '#ca7ace',
    500: '#af3ab8',
    950: '#000000',
  },
}
SCSS
$custom: #af3ab8;
$custom-light: #ca7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ab8",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 295.714,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56555,
    "c": 0.20934,
    "h": 324.8
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#AF3AB8
secondary
#8BC787
accent
#DC4C57
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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