#AF3ABC#AF3ABC

#AF3ABC is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.213 H 323.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AF3ABC
RGBrgb(175, 58, 188)
HSLhsl(294, 53%, 48%)
HSVhsv(294, 69%, 74%)
CMYKcmyk(6.9%, 69.1%, 0%, 26.3%)
CIE-LABlab(46.67, 63.60, -45.33)
CIE-LCHlch(46.67, 78.11, 324.52°)
OKLaboklab(56.79% 0.1711 -0.1263)
OKLCHoklch(56.79% 0.213 323.6)
XYZxyz(28.2685, 15.7726, 49.1227)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3ABC #47BC3A
analogous
#6E3ABC #AF3ABC #BC3A88
triadic
#AF3ABC #BCAF3A #3ABCAF
tetradic
#AF3ABC #BC6E3A #47BC3A #3A88BC
square
#AF3ABC #BC6E3A #47BC3A #3A88BC
split-complementary
#AF3ABC #88BC3A #3ABC6E
monochromatic
#581D5E #832C8D #AF3ABC #C464CF #D693DE

Accessibility & contrast

On white

5.06
#AF3ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3ABC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3ABC#FFFFFF#000000##FFFFFF
##AF3ABC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C0
Deuteranopia (green-blind)
#5073B9
Tritanopia (blue-blind)
#B25077
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3abc;
/* rgb */ color: rgb(175, 58, 188);
/* oklch */ color: oklch(56.8% 0.213 323.6);
Tailwind
colors: {
  custom: {
    50: '#ca7ad1',
    500: '#af3abc',
    950: '#000000',
  },
}
SCSS
$custom: #af3abc;
$custom-light: #ca7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3abc",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 294,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5679,
    "c": 0.21268,
    "h": 323.6
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#AF3ABC
secondary
#8FC989
accent
#DC4C5A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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