#A17DEB#A17DEB

#A17DEB is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.1% C 0.160 H 297.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A17DEB
RGBrgb(161, 125, 235)
HSLhsl(260, 73%, 71%)
HSVhsv(260, 47%, 92%)
CMYKcmyk(31.5%, 46.8%, 0%, 7.8%)
CIE-LABlab(60.11, 37.11, -50.80)
CIE-LCHlch(60.11, 62.92, 306.15°)
OKLaboklab(67.12% 0.0727 -0.1429)
OKLCHoklch(67.12% 0.16 297)
XYZxyz(37.0233, 28.2420, 82.0818)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17DEB #C7EB7D
analogous
#7D90EB #A17DEB #D87DEB
triadic
#A17DEB #EBA17D #7DEBA1
tetradic
#A17DEB #EB7D90 #C7EB7D #7DEBD8
square
#A17DEB #EB7D90 #C7EB7D #7DEBD8
split-complementary
#A17DEB #EBD87D #90EB7D
monochromatic
#5920CE #7B48E3 #A17DEB #C7B2F3 #ECE4FB

Accessibility & contrast

On white

3.16
#A17DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A17DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17DEB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17DEB#FFFFFF#000000##000000
##A17DEB1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#6090E8
Tritanopia (blue-blind)
#9192A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a17deb;
/* rgb */ color: rgb(161, 125, 235);
/* oklch */ color: oklch(67.1% 0.160 297.0);
Tailwind
colors: {
  custom: {
    50: '#c0a3f2',
    500: '#a17deb',
    950: '#000000',
  },
}
SCSS
$custom: #a17deb;
$custom-light: #c0a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a17deb",
  "rgb": {
    "r": 161,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 259.636,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6712,
    "c": 0.16038,
    "h": 297
  },
  "luminance": 0.28242
}

Semantic roles & 50–950 ramp

primary
#A17DEB
secondary
#E7F1D3
accent
#D51095
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A17DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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