#AF3ABB#AF3ABB

#AF3ABB is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.212 H 323.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AF3ABB
RGBrgb(175, 58, 187)
HSLhsl(294, 53%, 48%)
HSVhsv(294, 69%, 73%)
CMYKcmyk(6.4%, 69%, 0%, 26.7%)
CIE-LABlab(46.62, 63.43, -44.84)
CIE-LCHlch(46.62, 77.67, 324.74°)
OKLaboklab(56.73% 0.1711 -0.1248)
OKLCHoklch(56.73% 0.212 323.9)
XYZxyz(28.1611, 15.7296, 48.5569)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3ABB #46BB3A
analogous
#6F3ABB #AF3ABB #BB3A86
triadic
#AF3ABB #BBAF3A #3ABBAF
tetradic
#AF3ABB #BB6F3A #46BB3A #3A86BB
square
#AF3ABB #BB6F3A #46BB3A #3A86BB
split-complementary
#AF3ABB #86BB3A #3ABB6F
monochromatic
#581D5E #832C8C #AF3ABB #C563CF #D692DD

Accessibility & contrast

On white

5.07
#AF3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF3ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3ABB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3ABB#FFFFFF#000000##FFFFFF
##AF3ABB1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666BF
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#B24F76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3abb;
/* rgb */ color: rgb(175, 58, 187);
/* oklch */ color: oklch(56.7% 0.212 323.9);
Tailwind
colors: {
  custom: {
    50: '#ca7ad0',
    500: '#af3abb',
    950: '#000000',
  },
}
SCSS
$custom: #af3abb;
$custom-light: #ca7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3abb",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 294.419,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.21184,
    "h": 323.9
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#AF3ABB
secondary
#8EC888
accent
#DC4C59
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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