#AD7FEB#AD7FEB

#AD7FEB is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.6% C 0.159 H 302.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#AD7FEB
RGBrgb(173, 127, 235)
HSLhsl(266, 73%, 71%)
HSVhsv(266, 46%, 92%)
CMYKcmyk(26.4%, 46%, 0%, 7.8%)
CIE-LABlab(61.71, 39.17, -48.20)
CIE-LCHlch(61.71, 62.11, 309.10°)
OKLaboklab(68.59% 0.0845 -0.135)
OKLCHoklch(68.59% 0.159 302)
XYZxyz(39.8150, 30.0611, 82.2860)
Luminance0.3006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD7FEB #BDEB7F
analogous
#7F87EB #AD7FEB #E37FEB
triadic
#AD7FEB #EBAD7F #7FEBAD
tetradic
#AD7FEB #EB7F87 #BDEB7F #7FEBE3
square
#AD7FEB #EB7F87 #BDEB7F #7FEBE3
split-complementary
#AD7FEB #EBE37F #87EB7F
monochromatic
#6B20CF #8B4AE3 #AD7FEB #CFB4F3 #EEE5FB

Accessibility & contrast

On white

2.99
#AD7FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#AD7FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD7FEB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD7FEB#FFFFFF#000000##000000
##AD7FEB1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#6B95E8
Tritanopia (blue-blind)
#A292AA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ad7feb;
/* rgb */ color: rgb(173, 127, 235);
/* oklch */ color: oklch(68.6% 0.159 302.0);
Tailwind
colors: {
  custom: {
    50: '#c8a5f2',
    500: '#ad7feb',
    950: '#000000',
  },
}
SCSS
$custom: #ad7feb;
$custom-light: #c8a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad7feb",
  "rgb": {
    "r": 173,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 265.556,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68588,
    "c": 0.1593,
    "h": 302
  },
  "luminance": 0.30061
}

Semantic roles & 50–950 ramp

primary
#AD7FEB
secondary
#E5F1D5
accent
#D51081
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AD7FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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