#AF3AB5#AF3AB5

#AF3AB5 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.4% C 0.207 H 325.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AF3AB5
RGBrgb(175, 58, 181)
HSLhsl(297, 51%, 47%)
HSVhsv(297, 68%, 71%)
CMYKcmyk(3.3%, 68%, 0%, 29%)
CIE-LABlab(46.28, 62.37, -41.86)
CIE-LCHlch(46.28, 75.12, 326.13°)
OKLaboklab(56.38% 0.1712 -0.1162)
OKLCHoklch(56.38% 0.207 325.8)
XYZxyz(27.5322, 15.4780, 45.2445)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AB5 #40B53A
analogous
#723AB5 #AF3AB5 #B53A7E
triadic
#AF3AB5 #B5AF3A #3AB5AF
tetradic
#AF3AB5 #B5723A #40B53A #3A7EB5
square
#AF3AB5 #B5723A #40B53A #3A7EB5
split-complementary
#AF3AB5 #7EB53A #3AB572
monochromatic
#551C58 #822B87 #AF3AB5 #C760CC #D78EDB

Accessibility & contrast

On white

5.13
#AF3AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AF3AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AB5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AB5#FFFFFF#000000##FFFFFF
##AF3AB51.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2164B9
Deuteranopia (green-blind)
#5473B2
Tritanopia (blue-blind)
#B34D73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3ab5;
/* rgb */ color: rgb(175, 58, 181);
/* oklch */ color: oklch(56.4% 0.207 325.8);
Tailwind
colors: {
  custom: {
    50: '#ca7acc',
    500: '#af3ab5',
    950: '#000000',
  },
}
SCSS
$custom: #af3ab5;
$custom-light: #ca7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ab5",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 297.073,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.20686,
    "h": 325.8
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

primary
#AF3AB5
secondary
#88C685
accent
#DB4D54
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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