#AD45E8#AD45E8

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

Color values

HEX#AD45E8
RGBrgb(173, 69, 232)
HSLhsl(278, 78%, 59%)
HSVhsv(278, 70%, 91%)
CMYKcmyk(25.4%, 70.3%, 0%, 9%)
CIE-LABlab(50.65, 67.39, -64.20)
CIE-LCHlch(50.65, 93.07, 316.39°)
OKLaboklab(60.44% 0.1542 -0.1817)
OKLCHoklch(60.44% 0.238 310.3)
XYZxyz(33.9244, 18.9674, 78.2023)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD45E8 #80E845
analogous
#5C45E8 #AD45E8 #E845D2
triadic
#AD45E8 #E8AD45 #45E8AD
tetradic
#AD45E8 #E85C45 #80E845 #45D2E8
square
#AD45E8 #E85C45 #80E845 #45D2E8
split-complementary
#AD45E8 #D2E845 #45E85C
monochromatic
#6D149F #921AD5 #AD45E8 #C57BEF #DDB2F5

Accessibility & contrast

On white

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

On black

4.79
#AD45E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD45E8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD45E8#FFFFFF#000000##000000
##AD45E81.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#287AE4
Tritanopia (blue-blind)
#A56992
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ad45e8;
/* rgb */ color: rgb(173, 69, 232);
/* oklch */ color: oklch(60.4% 0.238 310.3);
Tailwind
colors: {
  custom: {
    50: '#ca81f0',
    500: '#ad45e8',
    950: '#000000',
  },
}
SCSS
$custom: #ad45e8;
$custom-light: #ca81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ad45e8",
  "rgb": {
    "r": 173,
    "g": 69,
    "b": 232
  },
  "hsl": {
    "h": 278.282,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60442,
    "c": 0.23828,
    "h": 310.3
  },
  "luminance": 0.18967
}

Semantic roles & 50–950 ramp

primary
#AD45E8
secondary
#BCE4A4
accent
#F43379
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AD45E8

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

Preview Lab → · Contrast checker → · Palette generator →

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