#AD51DF#AD51DF

#AD51DF is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.2% C 0.215 H 311.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AD51DF
RGBrgb(173, 81, 223)
HSLhsl(279, 69%, 60%)
HSVhsv(279, 64%, 87%)
CMYKcmyk(22.4%, 63.7%, 0%, 12.5%)
CIE-LABlab(51.95, 60.29, -57.02)
CIE-LCHlch(51.95, 82.98, 316.59°)
OKLaboklab(61.19% 0.1422 -0.1607)
OKLCHoklch(61.19% 0.215 311.5)
XYZxyz(33.4928, 20.0976, 71.9126)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD51DF #83DF51
analogous
#6651DF #AD51DF #DF51CA
triadic
#AD51DF #DFAD51 #51DFAD
tetradic
#AD51DF #DF6651 #83DF51 #51CADF
square
#AD51DF #DF6651 #83DF51 #51CADF
split-complementary
#AD51DF #CADF51 #51DF66
monochromatic
#6D1C99 #9226CD #AD51DF #C585E9 #DEB8F2

Accessibility & contrast

On white

4.18
#AD51DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#AD51DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD51DF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD51DF#FFFFFF#000000##000000
##AD51DF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#437EDC
Tritanopia (blue-blind)
#A76D91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ad51df;
/* rgb */ color: rgb(173, 81, 223);
/* oklch */ color: oklch(61.2% 0.215 311.5);
Tailwind
colors: {
  custom: {
    50: '#c987ea',
    500: '#ad51df',
    950: '#000000',
  },
}
SCSS
$custom: #ad51df;
$custom-light: #c987ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ad51df",
  "rgb": {
    "r": 173,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 278.873,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6119,
    "c": 0.21459,
    "h": 311.5
  },
  "luminance": 0.20097
}

Semantic roles & 50–950 ramp

primary
#AD51DF
secondary
#BEE1AA
accent
#EC3C7A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AD51DF

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

Preview Lab → · Contrast checker → · Palette generator →

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