#A167EC#A167EC

#A167EC is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.7% C 0.195 H 301.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A167EC
RGBrgb(161, 103, 236)
HSLhsl(266, 78%, 66%)
HSVhsv(266, 56%, 93%)
CMYKcmyk(31.8%, 56.4%, 0%, 7.5%)
CIE-LABlab(55.41, 49.48, -58.85)
CIE-LCHlch(55.41, 76.89, 310.06°)
OKLaboklab(63.66% 0.1007 -0.1665)
OKLCHoklch(63.66% 0.195 301.2)
XYZxyz(34.6850, 23.3335, 82.0171)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A167EC #B2EC67
analogous
#6770EC #A167EC #E367EC
triadic
#A167EC #ECA167 #67ECA1
tetradic
#A167EC #EC6770 #B2EC67 #67ECE3
square
#A167EC #EC6770 #B2EC67 #67ECE3
split-complementary
#A167EC #ECE367 #70EC67
monochromatic
#6218C1 #7F31E5 #A167EC #C39DF3 #E4D4FA

Accessibility & contrast

On white

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

On black

5.67
#A167EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A167EC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A167EC#FFFFFF#000000##000000
##A167EC1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C84F0
Deuteranopia (green-blind)
#4384E9
Tritanopia (blue-blind)
#9282A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a167ec;
/* rgb */ color: rgb(161, 103, 236);
/* oklch */ color: oklch(63.7% 0.195 301.2);
Tailwind
colors: {
  custom: {
    50: '#c194f3',
    500: '#a167ec',
    950: '#000000',
  },
}
SCSS
$custom: #a167ec;
$custom-light: #c194f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a167ec",
  "rgb": {
    "r": 161,
    "g": 103,
    "b": 236
  },
  "hsl": {
    "h": 266.165,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63656,
    "c": 0.19457,
    "h": 301.2
  },
  "luminance": 0.23334
}

Semantic roles & 50–950 ramp

primary
#A167EC
secondary
#DAEDC2
accent
#DA0B80
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A167EC

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

Preview Lab → · Contrast checker → · Palette generator →

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