#AD74F2#AD74F2

#AD74F2 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.2% C 0.185 H 302.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AD74F2
RGBrgb(173, 116, 242)
HSLhsl(267, 83%, 70%)
HSVhsv(267, 52%, 95%)
CMYKcmyk(28.5%, 52.1%, 0%, 5.1%)
CIE-LABlab(59.69, 46.86, -55.27)
CIE-LCHlch(59.69, 72.46, 310.29°)
OKLaboklab(67.21% 0.0996 -0.1557)
OKLCHoklch(67.21% 0.185 302.6)
XYZxyz(39.5024, 27.7858, 87.2693)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD74F2 #B9F274
analogous
#747AF2 #AD74F2 #EC74F2
triadic
#AD74F2 #F2AD74 #74F2AD
tetradic
#AD74F2 #F2747A #B9F274 #74F2EC
square
#AD74F2 #F2747A #B9F274 #74F2EC
split-complementary
#AD74F2 #F2EC74 #7AF274
monochromatic
#6D14D7 #8C3CED #AD74F2 #CEACF7 #EEE3FC

Accessibility & contrast

On white

3.20
#AD74F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AD74F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD74F2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD74F2#FFFFFF#000000##000000
##AD74F21.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#488FF6
Deuteranopia (green-blind)
#5A8FEF
Tritanopia (blue-blind)
#A08CA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ad74f2;
/* rgb */ color: rgb(173, 116, 242);
/* oklch */ color: oklch(67.2% 0.185 302.6);
Tailwind
colors: {
  custom: {
    50: '#c99df7',
    500: '#ad74f2',
    950: '#000000',
  },
}
SCSS
$custom: #ad74f2;
$custom-light: #c99df7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad74f2",
  "rgb": {
    "r": 173,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 267.143,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67208,
    "c": 0.18482,
    "h": 302.6
  },
  "luminance": 0.27786
}

Semantic roles & 50–950 ramp

primary
#AD74F2
secondary
#E3F2CF
accent
#DF067D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AD74F2

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

Preview Lab → · Contrast checker → · Palette generator →

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