#AD42E4#AD42E4

#AD42E4 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.9% C 0.238 H 311.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AD42E4
RGBrgb(173, 66, 228)
HSLhsl(280, 75%, 58%)
HSVhsv(280, 71%, 89%)
CMYKcmyk(24.1%, 71.1%, 0%, 10.6%)
CIE-LABlab(49.96, 67.77, -63.05)
CIE-LCHlch(49.96, 92.57, 317.06°)
OKLaboklab(59.87% 0.1576 -0.1783)
OKLCHoklch(59.87% 0.238 311.5)
XYZxyz(33.1828, 18.3829, 75.1840)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD42E4 #79E442
analogous
#5C42E4 #AD42E4 #E442CA
triadic
#AD42E4 #E4AD42 #42E4AD
tetradic
#AD42E4 #E45C42 #79E442 #42CAE4
square
#AD42E4 #E45C42 #79E442 #42CAE4
split-complementary
#AD42E4 #CAE442 #42E45C
monochromatic
#6A1596 #901DCC #AD42E4 #C478EC #DBADF3

Accessibility & contrast

On white

4.49
#AD42E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AD42E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD42E4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD42E4#FFFFFF#000000##000000
##AD42E41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#2A79E0
Tritanopia (blue-blind)
#A6668F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ad42e4;
/* rgb */ color: rgb(173, 66, 228);
/* oklch */ color: oklch(59.9% 0.238 311.5);
Tailwind
colors: {
  custom: {
    50: '#ca7fed',
    500: '#ad42e4',
    950: '#000000',
  },
}
SCSS
$custom: #ad42e4;
$custom-light: #ca7fed;
$custom-dark: #000000;
JSON
{
  "hex": "#ad42e4",
  "rgb": {
    "r": 173,
    "g": 66,
    "b": 228
  },
  "hsl": {
    "h": 279.63,
    "s": 75,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59866,
    "c": 0.23797,
    "h": 311.5
  },
  "luminance": 0.18382
}

Semantic roles & 50–950 ramp

primary
#AD42E4
secondary
#B6E2A0
accent
#F23676
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD42E4

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

Preview Lab → · Contrast checker → · Palette generator →

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