#AD7BEC#AD7BEC

#AD7BEC is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.0% C 0.167 H 302.6°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AD7BEC
RGBrgb(173, 123, 236)
HSLhsl(267, 75%, 70%)
HSVhsv(267, 48%, 93%)
CMYKcmyk(26.7%, 47.9%, 0%, 7.5%)
CIE-LABlab(60.88, 41.62, -50.07)
CIE-LCHlch(60.88, 65.11, 309.74°)
OKLaboklab(67.98% 0.09 -0.1405)
OKLCHoklch(67.98% 0.167 302.6)
XYZxyz(39.4535, 29.1063, 82.8802)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD7BEC #BAEC7B
analogous
#7B81EC #AD7BEC #E67BEC
triadic
#AD7BEC #ECAD7B #7BECAD
tetradic
#AD7BEC #EC7B81 #BAEC7B #7BECE6
square
#AD7BEC #EC7B81 #BAEC7B #7BECE6
split-complementary
#AD7BEC #ECE67B #81EC7B
monochromatic
#6C1ECF #8C46E4 #AD7BEC #CEB0F4 #EEE4FB

Accessibility & contrast

On white

3.08
#AD7BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#AD7BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD7BEC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD7BEC#FFFFFF#000000##000000
##AD7BEC1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#6693E9
Tritanopia (blue-blind)
#A28FA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ad7bec;
/* rgb */ color: rgb(173, 123, 236);
/* oklch */ color: oklch(68.0% 0.167 302.6);
Tailwind
colors: {
  custom: {
    50: '#c8a2f2',
    500: '#ad7bec',
    950: '#000000',
  },
}
SCSS
$custom: #ad7bec;
$custom-light: #c8a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad7bec",
  "rgb": {
    "r": 173,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 266.549,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67982,
    "c": 0.16682,
    "h": 302.6
  },
  "luminance": 0.29106
}

Semantic roles & 50–950 ramp

primary
#AD7BEC
secondary
#E3F1D2
accent
#D70F7E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AD7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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