#A17BD2#A17BD2

#A17BD2 is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.4% C 0.131 H 303.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A17BD2
RGBrgb(161, 123, 210)
HSLhsl(266, 49%, 65%)
HSVhsv(266, 41%, 82%)
CMYKcmyk(23.3%, 41.4%, 0%, 17.6%)
CIE-LABlab(58.41, 32.14, -39.50)
CIE-LCHlch(58.41, 50.92, 309.13°)
OKLaboklab(65.44% 0.0717 -0.11)
OKLCHoklch(65.44% 0.131 303.1)
XYZxyz(33.4113, 26.3962, 64.2951)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17BD2 #ACD27B
analogous
#7B80D2 #A17BD2 #CD7BD2
triadic
#A17BD2 #D2A17B #7BD2A1
tetradic
#A17BD2 #D27B80 #ACD27B #7BD2CD
square
#A17BD2 #D27B80 #ACD27B #7BD2CD
split-complementary
#A17BD2 #D2CD7B #80D27B
monochromatic
#63369D #804DC2 #A17BD2 #C2A9E2 #E2D6F1

Accessibility & contrast

On white

3.34
#A17BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A17BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17BD2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17BD2#FFFFFF#000000##000000
##A17BD21.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#658CD5
Deuteranopia (green-blind)
#6E8CD0
Tritanopia (blue-blind)
#99899C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a17bd2;
/* rgb */ color: rgb(161, 123, 210);
/* oklch */ color: oklch(65.4% 0.131 303.1);
Tailwind
colors: {
  custom: {
    50: '#bea1e0',
    500: '#a17bd2',
    950: '#000000',
  },
}
SCSS
$custom: #a17bd2;
$custom-light: #bea1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a17bd2",
  "rgb": {
    "r": 161,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 266.207,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65442,
    "c": 0.13135,
    "h": 303.1
  },
  "luminance": 0.26396
}

Semantic roles & 50–950 ramp

primary
#A17BD2
secondary
#D6E3C6
accent
#BC297C
background
#FBFAFD
surface
#F7F3FB
border
#D0CDD4
text
#120F15
muted
#817F83

Preview Lab

Preview with #A17BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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