#A167EB#A167EB

#A167EB is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.6% C 0.193 H 301.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A167EB
RGBrgb(161, 103, 235)
HSLhsl(266, 77%, 66%)
HSVhsv(266, 56%, 92%)
CMYKcmyk(31.5%, 56.2%, 0%, 7.8%)
CIE-LABlab(55.36, 49.24, -58.38)
CIE-LCHlch(55.36, 76.38, 310.14°)
OKLaboklab(63.59% 0.1007 -0.1651)
OKLCHoklch(63.59% 0.193 301.4)
XYZxyz(34.5401, 23.2756, 81.2541)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A167EB #B1EB67
analogous
#676FEB #A167EB #E367EB
triadic
#A167EB #EBA167 #67EBA1
tetradic
#A167EB #EB676F #B1EB67 #67EBE3
square
#A167EB #EB676F #B1EB67 #67EBE3
split-complementary
#A167EB #EBE367 #6FEB67
monochromatic
#6219BF #8031E4 #A167EB #C29DF2 #E4D3F9

Accessibility & contrast

On white

3.71
#A167EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#A167EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A167EB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A167EB#FFFFFF#000000##000000
##A167EB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84EF
Deuteranopia (green-blind)
#4484E8
Tritanopia (blue-blind)
#92819F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a167eb;
/* rgb */ color: rgb(161, 103, 235);
/* oklch */ color: oklch(63.6% 0.193 301.4);
Tailwind
colors: {
  custom: {
    50: '#c194f2',
    500: '#a167eb',
    950: '#000000',
  },
}
SCSS
$custom: #a167eb;
$custom-light: #c194f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a167eb",
  "rgb": {
    "r": 161,
    "g": 103,
    "b": 235
  },
  "hsl": {
    "h": 266.364,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63593,
    "c": 0.1934,
    "h": 301.4
  },
  "luminance": 0.23276
}

Semantic roles & 50–950 ramp

primary
#A167EB
secondary
#DAECC1
accent
#D90D7F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A167EB

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

Preview Lab → · Contrast checker → · Palette generator →

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