#AD5FAC#AD5FAC

#AD5FAC is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.3% C 0.142 H 327.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AD5FAC
RGBrgb(173, 95, 172)
HSLhsl(301, 32%, 53%)
HSVhsv(301, 45%, 68%)
CMYKcmyk(0%, 45.1%, 0.6%, 32.2%)
CIE-LABlab(51.89, 43.08, -27.81)
CIE-LCHlch(51.89, 51.28, 327.16°)
OKLaboklab(60.29% 0.1199 -0.076)
OKLCHoklch(60.29% 0.142 327.6)
XYZxyz(28.7717, 20.0487, 41.3760)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD5FAC #5FAD60
analogous
#875FAD #AD5FAC #AD5F85
triadic
#AD5FAC #ACAD5F #5FACAD
tetradic
#AD5FAC #AD875F #5FAD60 #5F85AD
square
#AD5FAC #AD875F #5FAD60 #5F85AD
split-complementary
#AD5FAC #85AD5F #5FAD87
monochromatic
#603160 #894688 #AD5FAC #C287C1 #D6B0D6

Accessibility & contrast

On white

4.19
#AD5FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#AD5FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD5FAC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD5FAC#FFFFFF#000000##000000
##AD5FAC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5975AF
Deuteranopia (green-blind)
#6F7FAA
Tritanopia (blue-blind)
#B1677D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ad5fac;
/* rgb */ color: rgb(173, 95, 172);
/* oklch */ color: oklch(60.3% 0.142 327.6);
Tailwind
colors: {
  custom: {
    50: '#c78fc5',
    500: '#ad5fac',
    950: '#000000',
  },
}
SCSS
$custom: #ad5fac;
$custom-light: #c78fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#ad5fac",
  "rgb": {
    "r": 173,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 300.769,
    "s": 32.231,
    "l": 52.549
  },
  "oklch": {
    "l": 0.6029,
    "c": 0.14197,
    "h": 327.6
  },
  "luminance": 0.20047
}

Semantic roles & 50–950 ramp

primary
#AD5FAC
secondary
#A3C5A3
accent
#C8615F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AD5FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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