#A17BB2#A17BB2

#A17BB2 is a light, moderate purple. Relative luminance 0.250; OKLCH L 63.9% C 0.091 H 315.1°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A17BB2
RGBrgb(161, 123, 178)
HSLhsl(281, 26%, 59%)
HSVhsv(281, 31%, 70%)
CMYKcmyk(9.6%, 30.9%, 0%, 30.2%)
CIE-LABlab(57.03, 24.93, -23.45)
CIE-LCHlch(57.03, 34.22, 316.76°)
OKLaboklab(63.94% 0.0644 -0.0641)
OKLCHoklch(63.94% 0.091 315.1)
XYZxyz(29.8155, 24.9579, 45.3575)
Luminance0.2496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17BB2 #8CB27B
analogous
#867BB2 #A17BB2 #B27BA8
triadic
#A17BB2 #B2A17B #7BB2A1
tetradic
#A17BB2 #B2867B #8CB27B #7BA8B2
square
#A17BB2 #B2867B #8CB27B #7BA8B2
split-complementary
#A17BB2 #A8B27B #7BB286
monochromatic
#624271 #845897 #A17BB2 #BDA2C9 #D8C8DF

Accessibility & contrast

On white

3.51
#A17BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#A17BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17BB2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17BB2#FFFFFF#000000##000000
##A17BB21.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7387B4
Deuteranopia (green-blind)
#7C8AB0
Tritanopia (blue-blind)
#A0828F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a17bb2;
/* rgb */ color: rgb(161, 123, 178);
/* oklch */ color: oklch(63.9% 0.091 315.1);
Tailwind
colors: {
  custom: {
    50: '#bda1c9',
    500: '#a17bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a17bb2;
$custom-light: #bda1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a17bb2",
  "rgb": {
    "r": 161,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 281.455,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63944,
    "c": 0.09082,
    "h": 315.1
  },
  "luminance": 0.24957
}

Semantic roles & 50–950 ramp

primary
#A17BB2
secondary
#C0CFBA
accent
#C36582
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#120F13
muted
#817E82

Preview Lab

Preview with #A17BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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