#AD5FA2#AD5FA2

#AD5FA2 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 59.8% C 0.133 H 332.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AD5FA2
RGBrgb(173, 95, 162)
HSLhsl(308, 32%, 53%)
HSVhsv(308, 45%, 68%)
CMYKcmyk(0%, 45.1%, 6.4%, 32.2%)
CIE-LABlab(51.47, 41.26, -22.61)
CIE-LCHlch(51.47, 47.05, 331.28°)
OKLaboklab(59.84% 0.1177 -0.0613)
OKLCHoklch(59.84% 0.133 332.5)
XYZxyz(27.8472, 19.6789, 36.5070)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD5FA2 #5FAD6A
analogous
#915FAD #AD5FA2 #AD5F7B
triadic
#AD5FA2 #A2AD5F #5FA2AD
tetradic
#AD5FA2 #AD915F #5FAD6A #5F7BAD
square
#AD5FA2 #AD915F #5FAD6A #5F7BAD
split-complementary
#AD5FA2 #7BAD5F #5FAD91
monochromatic
#60315A #89467F #AD5FA2 #C287BA #D6B0D1

Accessibility & contrast

On white

4.25
#AD5FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AD5FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD5FA2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD5FA2#FFFFFF#000000##000000
##AD5FA21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A4
Deuteranopia (green-blind)
#727FA0
Tritanopia (blue-blind)
#B36479
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ad5fa2;
/* rgb */ color: rgb(173, 95, 162);
/* oklch */ color: oklch(59.8% 0.133 332.5);
Tailwind
colors: {
  custom: {
    50: '#c78fbd',
    500: '#ad5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #ad5fa2;
$custom-light: #c78fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ad5fa2",
  "rgb": {
    "r": 173,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 308.462,
    "s": 32.231,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59839,
    "c": 0.13273,
    "h": 332.5
  },
  "luminance": 0.19677
}

Semantic roles & 50–950 ramp

primary
#AD5FA2
secondary
#A3C5A8
accent
#C86E5F
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AD5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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