#AD74EB#AD74EB

#AD74EB is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.8% C 0.177 H 304.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AD74EB
RGBrgb(173, 116, 235)
HSLhsl(269, 75%, 69%)
HSVhsv(269, 51%, 92%)
CMYKcmyk(26.4%, 50.6%, 0%, 7.8%)
CIE-LABlab(59.32, 45.21, -51.98)
CIE-LCHlch(59.32, 68.89, 311.01°)
OKLaboklab(66.81% 0.0991 -0.1461)
OKLCHoklch(66.81% 0.177 304.2)
XYZxyz(38.4711, 27.3733, 81.8380)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD74EB #B2EB74
analogous
#7477EB #AD74EB #E874EB
triadic
#AD74EB #EBAD74 #74EBAD
tetradic
#AD74EB #EB7477 #B2EB74 #74EBE8
square
#AD74EB #EB7477 #B2EB74 #74EBE8
split-complementary
#AD74EB #EBE874 #77EB74
monochromatic
#6F1DC8 #8D3EE3 #AD74EB #CDAAF3 #ECDFFA

Accessibility & contrast

On white

3.24
#AD74EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#AD74EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD74EB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD74EB#FFFFFF#000000##000000
##AD74EB1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEF
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#A28AA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ad74eb;
/* rgb */ color: rgb(173, 116, 235);
/* oklch */ color: oklch(66.8% 0.177 304.2);
Tailwind
colors: {
  custom: {
    50: '#c89df2',
    500: '#ad74eb',
    950: '#000000',
  },
}
SCSS
$custom: #ad74eb;
$custom-light: #c89df2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad74eb",
  "rgb": {
    "r": 173,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 268.739,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66807,
    "c": 0.17651,
    "h": 304.2
  },
  "luminance": 0.27373
}

Semantic roles & 50–950 ramp

primary
#AD74EB
secondary
#DEEFCC
accent
#D70F77
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AD74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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