#A17BF2#A17BF2

#A17BF2 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.2% C 0.172 H 296.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A17BF2
RGBrgb(161, 123, 242)
HSLhsl(259, 82%, 72%)
HSVhsv(259, 49%, 95%)
CMYKcmyk(33.5%, 49.2%, 0%, 5.1%)
CIE-LABlab(60.03, 40.01, -54.81)
CIE-LCHlch(60.03, 67.86, 306.12°)
OKLaboklab(67.18% 0.076 -0.1547)
OKLCHoklch(67.18% 0.172 296.2)
XYZxyz(37.8039, 28.1532, 87.4296)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17BF2 #CCF27B
analogous
#7B91F2 #A17BF2 #DD7BF2
triadic
#A17BF2 #F2A17B #7BF2A1
tetradic
#A17BF2 #F27B91 #CCF27B #7BF2DD
square
#A17BF2 #F27B91 #CCF27B #7BF2DD
split-complementary
#A17BF2 #F2DD7B #91F27B
monochromatic
#5516DD #7943ED #A17BF2 #C9B3F7 #EBE3FC

Accessibility & contrast

On white

3.17
#A17BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#A17BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17BF2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17BF2#FFFFFF#000000##000000
##A17BF21.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#598FEF
Tritanopia (blue-blind)
#8F92AB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a17bf2;
/* rgb */ color: rgb(161, 123, 242);
/* oklch */ color: oklch(67.2% 0.172 296.2);
Tailwind
colors: {
  custom: {
    50: '#c0a2f7',
    500: '#a17bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a17bf2;
$custom-light: #c0a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a17bf2",
  "rgb": {
    "r": 161,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 259.16,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6718,
    "c": 0.17234,
    "h": 296.2
  },
  "luminance": 0.28154
}

Semantic roles & 50–950 ramp

primary
#A17BF2
secondary
#EAF4D5
accent
#DE079A
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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