#AD7EFA#AD7EFA

#AD7EFA is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.3% C 0.179 H 299.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#AD7EFA
RGBrgb(173, 126, 250)
HSLhsl(263, 93%, 74%)
HSVhsv(263, 50%, 98%)
CMYKcmyk(30.8%, 49.6%, 0%, 2%)
CIE-LABlab(62.26, 43.35, -55.60)
CIE-LCHlch(62.26, 70.50, 307.94°)
OKLaboklab(69.25% 0.0874 -0.1567)
OKLCHoklch(69.25% 0.179 299.2)
XYZxyz(41.9456, 30.7077, 94.1413)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD7EFA #CBFA7E
analogous
#7E8DFA #AD7EFA #EB7EFA
triadic
#AD7EFA #FAAD7E #7EFAAD
tetradic
#AD7EFA #FA7E8D #CBFA7E #7EFAEB
square
#AD7EFA #FA7E8D #CBFA7E #7EFAEB
split-complementary
#AD7EFA #FAEB7E #8DFA7E
monochromatic
#6209F4 #8843F8 #AD7EFA #D2B9FC #ECE2FE

Accessibility & contrast

On white

2.94
#AD7EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#AD7EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD7EFA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD7EFA#FFFFFF#000000##000000
##AD7EFA1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#5F95F7
Tritanopia (blue-blind)
#9D95B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ad7efa;
/* rgb */ color: rgb(173, 126, 250);
/* oklch */ color: oklch(69.3% 0.179 299.2);
Tailwind
colors: {
  custom: {
    50: '#c9a4fc',
    500: '#ad7efa',
    950: '#000000',
  },
}
SCSS
$custom: #ad7efa;
$custom-light: #c9a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ad7efa",
  "rgb": {
    "r": 173,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 262.742,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69252,
    "c": 0.17941,
    "h": 299.2
  },
  "luminance": 0.30708
}

Semantic roles & 50–950 ramp

primary
#AD7EFA
secondary
#E9F6D5
accent
#E6008F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AD7EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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