#AD47E4#AD47E4

#AD47E4 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.4% C 0.232 H 311.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AD47E4
RGBrgb(173, 71, 228)
HSLhsl(279, 74%, 59%)
HSVhsv(279, 69%, 89%)
CMYKcmyk(24.1%, 68.9%, 0%, 10.6%)
CIE-LABlab(50.68, 65.74, -61.89)
CIE-LCHlch(50.68, 90.29, 316.73°)
OKLaboklab(60.38% 0.1527 -0.1749)
OKLCHoklch(60.38% 0.232 311.1)
XYZxyz(33.4878, 18.9930, 75.2857)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD47E4 #7EE447
analogous
#5E47E4 #AD47E4 #E447CC
triadic
#AD47E4 #E4AD47 #47E4AD
tetradic
#AD47E4 #E45E47 #7EE447 #47CCE4
square
#AD47E4 #E45E47 #7EE447 #47CCE4
split-complementary
#AD47E4 #CCE447 #47E45E
monochromatic
#6C179A #911ECF #AD47E4 #C57CEC #DDB2F4

Accessibility & contrast

On white

4.38
#AD47E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AD47E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD47E4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD47E4#FFFFFF#000000##000000
##AD47E41.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#317AE1
Tritanopia (blue-blind)
#A66991
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ad47e4;
/* rgb */ color: rgb(173, 71, 228);
/* oklch */ color: oklch(60.4% 0.232 311.1);
Tailwind
colors: {
  custom: {
    50: '#ca82ed',
    500: '#ad47e4',
    950: '#000000',
  },
}
SCSS
$custom: #ad47e4;
$custom-light: #ca82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ad47e4",
  "rgb": {
    "r": 173,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 278.981,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6038,
    "c": 0.23216,
    "h": 311.1
  },
  "luminance": 0.18992
}

Semantic roles & 50–950 ramp

primary
#AD47E4
secondary
#BAE2A4
accent
#F13778
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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