#A17BFB#A17BFB

#A17BFB is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.184 H 294.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A17BFB
RGBrgb(161, 123, 251)
HSLhsl(258, 94%, 73%)
HSVhsv(258, 51%, 98%)
CMYKcmyk(35.9%, 51%, 0%, 1.6%)
CIE-LABlab(60.52, 42.31, -58.99)
CIE-LCHlch(60.52, 72.59, 305.65°)
OKLaboklab(67.71% 0.0767 -0.1669)
OKLCHoklch(67.71% 0.184 294.7)
XYZxyz(39.1890, 28.7073, 94.7244)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17BFB #D5FB7B
analogous
#7B95FB #A17BFB #E17BFB
triadic
#A17BFB #FBA17B #7BFBA1
tetradic
#A17BFB #FB7B95 #D5FB7B #7BFBE1
square
#A17BFB #FB7B95 #D5FB7B #7BFBE1
split-complementary
#A17BFB #FBE17B #95FB7B
monochromatic
#4E07F4 #7740F9 #A17BFB #CBB6FD #EAE1FE

Accessibility & contrast

On white

3.11
#A17BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#A17BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17BFB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17BFB#FFFFFF#000000##000000
##A17BFB1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#5190F8
Tritanopia (blue-blind)
#8B95B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a17bfb;
/* rgb */ color: rgb(161, 123, 251);
/* oklch */ color: oklch(67.7% 0.184 294.7);
Tailwind
colors: {
  custom: {
    50: '#c1a2fd',
    500: '#a17bfb',
    950: '#000000',
  },
}
SCSS
$custom: #a17bfb;
$custom-light: #c1a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a17bfb",
  "rgb": {
    "r": 161,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 257.813,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6771,
    "c": 0.18371,
    "h": 294.7
  },
  "luminance": 0.28708
}

Semantic roles & 50–950 ramp

primary
#A17BFB
secondary
#ECF6D5
accent
#E600A1
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A17BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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