#AD74FE#AD74FE

#AD74FE is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.9% C 0.199 H 300.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AD74FE
RGBrgb(173, 116, 254)
HSLhsl(265, 99%, 73%)
HSVhsv(265, 54%, 100%)
CMYKcmyk(31.9%, 54.3%, 0%, 0.4%)
CIE-LABlab(60.37, 49.75, -60.83)
CIE-LCHlch(60.37, 78.58, 309.28°)
OKLaboklab(67.92% 0.1002 -0.172)
OKLCHoklch(67.92% 0.199 300.2)
XYZxyz(41.3641, 28.5305, 97.0744)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD74FE #C5FE74
analogous
#7480FE #AD74FE #F274FE
triadic
#AD74FE #FEAD74 #74FEAD
tetradic
#AD74FE #FE7480 #C5FE74 #74FEF2
square
#AD74FE #FE7480 #C5FE74 #74FEF2
split-complementary
#AD74FE #FEF274 #80FE74
monochromatic
#6702F6 #8937FE #AD74FE #D1B1FE #EDE1FF

Accessibility & contrast

On white

3.13
#AD74FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#AD74FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD74FE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD74FE#FFFFFF#000000##000000
##AD74FE1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B91FF
Deuteranopia (green-blind)
#4F91FB
Tritanopia (blue-blind)
#9C8FAE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ad74fe;
/* rgb */ color: rgb(173, 116, 254);
/* oklch */ color: oklch(67.9% 0.199 300.2);
Tailwind
colors: {
  custom: {
    50: '#c99eff',
    500: '#ad74fe',
    950: '#000000',
  },
}
SCSS
$custom: #ad74fe;
$custom-light: #c99eff;
$custom-dark: #000000;
JSON
{
  "hex": "#ad74fe",
  "rgb": {
    "r": 173,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 264.783,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67919,
    "c": 0.19901,
    "h": 300.2
  },
  "luminance": 0.28531
}

Semantic roles & 50–950 ramp

primary
#AD74FE
secondary
#E9F7D4
accent
#E60087
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AD74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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