#AD7FF2#AD7FF2

#AD7FF2 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.0% C 0.168 H 300.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AD7FF2
RGBrgb(173, 127, 242)
HSLhsl(264, 82%, 72%)
HSVhsv(264, 48%, 95%)
CMYKcmyk(28.5%, 47.5%, 0%, 5.1%)
CIE-LABlab(62.06, 40.85, -51.51)
CIE-LCHlch(62.06, 65.74, 308.42°)
OKLaboklab(68.97% 0.0853 -0.1447)
OKLCHoklch(68.97% 0.168 300.5)
XYZxyz(40.8463, 30.4736, 87.7173)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD7FF2 #C4F27F
analogous
#7F8BF2 #AD7FF2 #E67FF2
triadic
#AD7FF2 #F2AD7F #7FF2AD
tetradic
#AD7FF2 #F27F8B #C4F27F #7FF2E6
square
#AD7FF2 #F27F8B #C4F27F #7FF2E6
split-complementary
#AD7FF2 #F2E67F #8BF27F
monochromatic
#6717E0 #8947EC #AD7FF2 #D1B7F8 #EDE3FC

Accessibility & contrast

On white

2.96
#AD7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#AD7FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD7FF2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD7FF2#FFFFFF#000000##000000
##AD7FF21.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F6
Deuteranopia (green-blind)
#6695EF
Tritanopia (blue-blind)
#A094AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ad7ff2;
/* rgb */ color: rgb(173, 127, 242);
/* oklch */ color: oklch(69.0% 0.168 300.5);
Tailwind
colors: {
  custom: {
    50: '#c8a5f7',
    500: '#ad7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ad7ff2;
$custom-light: #c8a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad7ff2",
  "rgb": {
    "r": 173,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 264,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68968,
    "c": 0.16799,
    "h": 300.5
  },
  "luminance": 0.30474
}

Semantic roles & 50–950 ramp

primary
#AD7FF2
secondary
#E8F4D7
accent
#DE0888
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AD7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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