#AD4DEC#AD4DEC

#AD4DEC is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.6% C 0.233 H 308.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AD4DEC
RGBrgb(173, 77, 236)
HSLhsl(276, 81%, 61%)
HSVhsv(276, 67%, 93%)
CMYKcmyk(26.7%, 67.4%, 0%, 7.5%)
CIE-LABlab(52.12, 64.86, -64.08)
CIE-LCHlch(52.12, 91.17, 315.35°)
OKLaboklab(61.57% 0.1456 -0.1814)
OKLCHoklch(61.57% 0.233 308.8)
XYZxyz(35.0247, 20.2487, 81.4039)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD4DEC #8CEC4D
analogous
#5E4DEC #AD4DEC #EC4DDC
triadic
#AD4DEC #ECAD4D #4DECAD
tetradic
#AD4DEC #EC5E4D #8CEC4D #4DDCEC
square
#AD4DEC #EC5E4D #8CEC4D #4DDCEC
split-complementary
#AD4DEC #DCEC4D #4DEC5E
monochromatic
#6F12AC #9318E4 #AD4DEC #C684F2 #E0BCF8

Accessibility & contrast

On white

4.16
#AD4DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#AD4DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD4DEC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD4DEC#FFFFFF#000000##000000
##AD4DEC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#2D7DE9
Tritanopia (blue-blind)
#A46F97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ad4dec;
/* rgb */ color: rgb(173, 77, 236);
/* oklch */ color: oklch(61.6% 0.233 308.8);
Tailwind
colors: {
  custom: {
    50: '#ca86f3',
    500: '#ad4dec',
    950: '#000000',
  },
}
SCSS
$custom: #ad4dec;
$custom-light: #ca86f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ad4dec",
  "rgb": {
    "r": 173,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 276.226,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61573,
    "c": 0.2326,
    "h": 308.8
  },
  "luminance": 0.20248
}

Semantic roles & 50–950 ramp

primary
#AD4DEC
secondary
#C4E8AD
accent
#DD085D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD4DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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