#A17BF7#A17BF7

#A17BF7 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.5% C 0.179 H 295.3°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A17BF7
RGBrgb(161, 123, 247)
HSLhsl(258, 89%, 73%)
HSVhsv(258, 50%, 97%)
CMYKcmyk(34.8%, 50.2%, 0%, 3.1%)
CIE-LABlab(60.30, 41.28, -57.14)
CIE-LCHlch(60.30, 70.49, 305.85°)
OKLaboklab(67.47% 0.0765 -0.1615)
OKLCHoklch(67.47% 0.179 295.3)
XYZxyz(38.5651, 28.4577, 91.4387)
Luminance0.2846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17BF7 #D1F77B
analogous
#7B93F7 #A17BF7 #DF7BF7
triadic
#A17BF7 #F7A17B #7BF7A1
tetradic
#A17BF7 #F77B93 #D1F77B #7BF7DF
square
#A17BF7 #F77B93 #D1F77B #7BF7DF
split-complementary
#A17BF7 #F7DF7B #93F77B
monochromatic
#510EE9 #7841F4 #A17BF7 #CAB5FA #EAE2FD

Accessibility & contrast

On white

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

On black

6.69
#A17BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17BF7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17BF7#FFFFFF#000000##000000
##A17BF71.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#5490F4
Tritanopia (blue-blind)
#8D93AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a17bf7;
/* rgb */ color: rgb(161, 123, 247);
/* oklch */ color: oklch(67.5% 0.179 295.3);
Tailwind
colors: {
  custom: {
    50: '#c1a2fa',
    500: '#a17bf7',
    950: '#000000',
  },
}
SCSS
$custom: #a17bf7;
$custom-light: #c1a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a17bf7",
  "rgb": {
    "r": 161,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 258.387,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67472,
    "c": 0.17866,
    "h": 295.3
  },
  "luminance": 0.28458
}

Semantic roles & 50–950 ramp

primary
#A17BF7
secondary
#ECF5D6
accent
#E5009F
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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