#AD56E2#AD56E2

#AD56E2 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 62.0% C 0.211 H 310.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AD56E2
RGBrgb(173, 86, 226)
HSLhsl(277, 71%, 61%)
HSVhsv(277, 62%, 89%)
CMYKcmyk(23.5%, 61.9%, 0%, 11.4%)
CIE-LABlab(52.98, 58.58, -57.05)
CIE-LCHlch(52.98, 81.78, 315.76°)
OKLaboklab(62% 0.1363 -0.1608)
OKLCHoklch(62% 0.211 310.3)
XYZxyz(34.2862, 21.0315, 74.1901)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD56E2 #8BE256
analogous
#6756E2 #AD56E2 #E256D1
triadic
#AD56E2 #E2AD56 #56E2AD
tetradic
#AD56E2 #E26756 #8BE256 #56D1E2
square
#AD56E2 #E26756 #8BE256 #56D1E2
split-complementary
#AD56E2 #D1E256 #56E267
monochromatic
#6F1CA2 #9325D6 #AD56E2 #C68AEB #E0BEF4

Accessibility & contrast

On white

4.03
#AD56E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AD56E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD56E2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD56E2#FFFFFF#000000##000000
##AD56E21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#117BE6
Deuteranopia (green-blind)
#4580DF
Tritanopia (blue-blind)
#A67194
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ad56e2;
/* rgb */ color: rgb(173, 86, 226);
/* oklch */ color: oklch(62.0% 0.211 310.3);
Tailwind
colors: {
  custom: {
    50: '#c98aec',
    500: '#ad56e2',
    950: '#000000',
  },
}
SCSS
$custom: #ad56e2;
$custom-light: #c98aec;
$custom-dark: #000000;
JSON
{
  "hex": "#ad56e2",
  "rgb": {
    "r": 173,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 277.286,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61997,
    "c": 0.21082,
    "h": 310.3
  },
  "luminance": 0.21031
}

Semantic roles & 50–950 ramp

primary
#AD56E2
secondary
#C4E4B0
accent
#D3135B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AD56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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