#A17BEE#A17BEE

#A17BEE is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.0% C 0.167 H 296.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A17BEE
RGBrgb(161, 123, 238)
HSLhsl(260, 77%, 71%)
HSVhsv(260, 48%, 93%)
CMYKcmyk(32.4%, 48.3%, 0%, 6.7%)
CIE-LABlab(59.81, 38.99, -52.94)
CIE-LCHlch(59.81, 65.75, 306.38°)
OKLaboklab(66.95% 0.0757 -0.1492)
OKLCHoklch(66.95% 0.167 296.9)
XYZxyz(37.2097, 27.9155, 84.3002)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17BEE #C8EE7B
analogous
#7B8EEE #A17BEE #DA7BEE
triadic
#A17BEE #EEA17B #7BEEA1
tetradic
#A17BEE #EE7B8E #C8EE7B #7BEEDA
square
#A17BEE #EE7B8E #C8EE7B #7BEEDA
split-complementary
#A17BEE #EEDA7B #8EEE7B
monochromatic
#581BD3 #7A45E7 #A17BEE #C8B1F5 #ECE4FC

Accessibility & contrast

On white

3.19
#A17BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#A17BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17BEE
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17BEE#FFFFFF#000000##000000
##A17BEE1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F2
Deuteranopia (green-blind)
#5C8FEB
Tritanopia (blue-blind)
#9091A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a17bee;
/* rgb */ color: rgb(161, 123, 238);
/* oklch */ color: oklch(67.0% 0.167 296.9);
Tailwind
colors: {
  custom: {
    50: '#c0a2f4',
    500: '#a17bee',
    950: '#000000',
  },
}
SCSS
$custom: #a17bee;
$custom-light: #c0a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a17bee",
  "rgb": {
    "r": 161,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 259.826,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6695,
    "c": 0.16727,
    "h": 296.9
  },
  "luminance": 0.27916
}

Semantic roles & 50–950 ramp

primary
#A17BEE
secondary
#E8F2D3
accent
#D90C96
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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