#A17BF6#A17BF6

#A17BF6 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.4% C 0.177 H 295.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A17BF6
RGBrgb(161, 123, 246)
HSLhsl(259, 87%, 72%)
HSVhsv(259, 50%, 96%)
CMYKcmyk(34.6%, 50%, 0%, 3.5%)
CIE-LABlab(60.24, 41.02, -56.68)
CIE-LCHlch(60.24, 69.97, 305.90°)
OKLaboklab(67.41% 0.0764 -0.1601)
OKLCHoklch(67.41% 0.177 295.5)
XYZxyz(38.4112, 28.3962, 90.6282)
Luminance0.2840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17BF6 #D0F67B
analogous
#7B92F6 #A17BF6 #DF7BF6
triadic
#A17BF6 #F6A17B #7BF6A1
tetradic
#A17BF6 #F67B92 #D0F67B #7BF6DF
square
#A17BF6 #F67B92 #D0F67B #7BF6DF
split-complementary
#A17BF6 #F6DF7B #92F67B
monochromatic
#5210E7 #7842F2 #A17BF6 #CAB4FA #EBE2FD

Accessibility & contrast

On white

3.14
#A17BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#A17BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17BF6
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17BF6#FFFFFF#000000##000000
##A17BF61.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92FA
Deuteranopia (green-blind)
#558FF3
Tritanopia (blue-blind)
#8D93AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a17bf6;
/* rgb */ color: rgb(161, 123, 246);
/* oklch */ color: oklch(67.4% 0.177 295.5);
Tailwind
colors: {
  custom: {
    50: '#c0a2fa',
    500: '#a17bf6',
    950: '#000000',
  },
}
SCSS
$custom: #a17bf6;
$custom-light: #c0a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a17bf6",
  "rgb": {
    "r": 161,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 258.537,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67413,
    "c": 0.1774,
    "h": 295.5
  },
  "luminance": 0.28397
}

Semantic roles & 50–950 ramp

primary
#A17BF6
secondary
#EBF5D6
accent
#E4029E
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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