#A17BE2#A17BE2

#A17BE2 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.3% C 0.152 H 299.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A17BE2
RGBrgb(161, 123, 226)
HSLhsl(262, 64%, 68%)
HSVhsv(262, 46%, 89%)
CMYKcmyk(28.8%, 45.6%, 0%, 11.4%)
CIE-LABlab(59.19, 36.00, -47.24)
CIE-LCHlch(59.19, 59.40, 307.31°)
OKLaboklab(66.28% 0.0742 -0.1326)
OKLCHoklch(66.28% 0.152 299.2)
XYZxyz(35.5052, 27.2337, 75.3228)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17BE2 #BCE27B
analogous
#7B88E2 #A17BE2 #D47BE2
triadic
#A17BE2 #E2A17B #7BE2A1
tetradic
#A17BE2 #E27B88 #BCE27B #7BE2D4
square
#A17BE2 #E27B88 #BCE27B #7BE2D4
split-complementary
#A17BE2 #E2D47B #88E27B
monochromatic
#5E29BA #7D49D7 #A17BE2 #C5ADED #E8DFF8

Accessibility & contrast

On white

3.26
#A17BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#A17BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17BE2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17BE2#FFFFFF#000000##000000
##A17BE21.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8EE6
Deuteranopia (green-blind)
#648EDF
Tritanopia (blue-blind)
#948EA4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a17be2;
/* rgb */ color: rgb(161, 123, 226);
/* oklch */ color: oklch(66.3% 0.152 299.2);
Tailwind
colors: {
  custom: {
    50: '#bfa2eb',
    500: '#a17be2',
    950: '#000000',
  },
}
SCSS
$custom: #a17be2;
$custom-light: #bfa2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a17be2",
  "rgb": {
    "r": 161,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 262.136,
    "s": 63.975,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66282,
    "c": 0.15193,
    "h": 299.2
  },
  "luminance": 0.27234
}

Semantic roles & 50–950 ramp

primary
#A17BE2
secondary
#E0ECCD
accent
#CC1A8A
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A17BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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