#A17BED#A17BED

#A17BED is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.9% C 0.166 H 297.1°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A17BED
RGBrgb(161, 123, 237)
HSLhsl(260, 76%, 71%)
HSVhsv(260, 48%, 93%)
CMYKcmyk(32.1%, 48.1%, 0%, 7.1%)
CIE-LABlab(59.76, 38.74, -52.47)
CIE-LCHlch(59.76, 65.22, 306.44°)
OKLaboklab(66.89% 0.0756 -0.1478)
OKLCHoklch(66.89% 0.166 297.1)
XYZxyz(37.0632, 27.8569, 83.5286)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17BED #C7ED7B
analogous
#7B8EED #A17BED #DA7BED
triadic
#A17BED #EDA17B #7BEDA1
tetradic
#A17BED #ED7B8E #C7ED7B #7BEDDA
square
#A17BED #ED7B8E #C7ED7B #7BEDDA
split-complementary
#A17BED #EDDA7B #8EED7B
monochromatic
#591DD1 #7B45E6 #A17BED #C7B1F4 #ECE4FB

Accessibility & contrast

On white

3.20
#A17BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#A17BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17BED
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17BED#FFFFFF#000000##000000
##A17BED1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F1
Deuteranopia (green-blind)
#5D8FEA
Tritanopia (blue-blind)
#9091A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a17bed;
/* rgb */ color: rgb(161, 123, 237);
/* oklch */ color: oklch(66.9% 0.166 297.1);
Tailwind
colors: {
  custom: {
    50: '#c0a2f3',
    500: '#a17bed',
    950: '#000000',
  },
}
SCSS
$custom: #a17bed;
$custom-light: #c0a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a17bed",
  "rgb": {
    "r": 161,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 260,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66894,
    "c": 0.16599,
    "h": 297.1
  },
  "luminance": 0.27857
}

Semantic roles & 50–950 ramp

primary
#A17BED
secondary
#E7F1D2
accent
#D80D95
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17BED

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

Preview Lab → · Contrast checker → · Palette generator →

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