#A167E5#A167E5

#A167E5 is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.2% C 0.186 H 302.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A167E5
RGBrgb(161, 103, 229)
HSLhsl(268, 71%, 65%)
HSVhsv(268, 55%, 90%)
CMYKcmyk(29.7%, 55%, 0%, 10.2%)
CIE-LABlab(55.01, 47.79, -55.58)
CIE-LCHlch(55.01, 73.30, 310.69°)
OKLaboklab(63.22% 0.1006 -0.1569)
OKLCHoklch(63.22% 0.186 302.7)
XYZxyz(33.6878, 22.9347, 76.7656)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A167E5 #ABE567
analogous
#676CE5 #A167E5 #E067E5
triadic
#A167E5 #E5A167 #67E5A1
tetradic
#A167E5 #E5676C #ABE567 #67E5E0
square
#A167E5 #E5676C #ABE567 #67E5E0
split-complementary
#A167E5 #E5E067 #6CE567
monochromatic
#631FB3 #8133DC #A167E5 #C19BEE #E2D0F7

Accessibility & contrast

On white

3.76
#A167E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#A167E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A167E5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A167E5#FFFFFF#000000##000000
##A167E51.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3683E9
Deuteranopia (green-blind)
#4A83E2
Tritanopia (blue-blind)
#947F9C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a167e5;
/* rgb */ color: rgb(161, 103, 229);
/* oklch */ color: oklch(63.2% 0.186 302.7);
Tailwind
colors: {
  custom: {
    50: '#c094ee',
    500: '#a167e5',
    950: '#000000',
  },
}
SCSS
$custom: #a167e5;
$custom-light: #c094ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a167e5",
  "rgb": {
    "r": 161,
    "g": 103,
    "b": 229
  },
  "hsl": {
    "h": 267.619,
    "s": 70.787,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63223,
    "c": 0.18636,
    "h": 302.7
  },
  "luminance": 0.22935
}

Semantic roles & 50–950 ramp

primary
#A167E5
secondary
#D6E9BF
accent
#D3137A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A167E5

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

Preview Lab → · Contrast checker → · Palette generator →

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