#AD45E7#AD45E7

#AD45E7 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.4% C 0.237 H 310.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AD45E7
RGBrgb(173, 69, 231)
HSLhsl(279, 77%, 59%)
HSVhsv(279, 70%, 91%)
CMYKcmyk(25.1%, 70.1%, 0%, 9.4%)
CIE-LABlab(50.58, 67.18, -63.74)
CIE-LCHlch(50.58, 92.61, 316.51°)
OKLaboklab(60.37% 0.1543 -0.1803)
OKLCHoklch(60.37% 0.237 310.6)
XYZxyz(33.7827, 18.9108, 77.4563)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD45E7 #7FE745
analogous
#5C45E7 #AD45E7 #E745D0
triadic
#AD45E7 #E7AD45 #45E7AD
tetradic
#AD45E7 #E75C45 #7FE745 #45D0E7
square
#AD45E7 #E75C45 #7FE745 #45D0E7
split-complementary
#AD45E7 #D0E745 #45E75C
monochromatic
#6C149D #921BD4 #AD45E7 #C57BEE #DDB1F5

Accessibility & contrast

On white

4.39
#AD45E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AD45E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD45E7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD45E7#FFFFFF#000000##000000
##AD45E71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#297AE3
Tritanopia (blue-blind)
#A56992
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ad45e7;
/* rgb */ color: rgb(173, 69, 231);
/* oklch */ color: oklch(60.4% 0.237 310.6);
Tailwind
colors: {
  custom: {
    50: '#ca81ef',
    500: '#ad45e7',
    950: '#000000',
  },
}
SCSS
$custom: #ad45e7;
$custom-light: #ca81ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ad45e7",
  "rgb": {
    "r": 173,
    "g": 69,
    "b": 231
  },
  "hsl": {
    "h": 278.519,
    "s": 77.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60374,
    "c": 0.23734,
    "h": 310.6
  },
  "luminance": 0.1891
}

Semantic roles & 50–950 ramp

primary
#AD45E7
secondary
#BBE4A4
accent
#F43479
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AD45E7

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

Preview Lab → · Contrast checker → · Palette generator →

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