#A167C8#A167C8

#A167C8 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.6% C 0.152 H 310.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A167C8
RGBrgb(161, 103, 200)
HSLhsl(276, 47%, 59%)
HSVhsv(276, 49%, 78%)
CMYKcmyk(19.5%, 48.5%, 0%, 21.6%)
CIE-LABlab(53.44, 41.03, -41.65)
CIE-LCHlch(53.44, 58.47, 314.57°)
OKLaboklab(61.55% 0.0983 -0.1162)
OKLCHoklch(61.55% 0.152 310.2)
XYZxyz(29.9716, 21.4482, 57.1934)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A167C8 #8EC867
analogous
#7167C8 #A167C8 #C867BF
triadic
#A167C8 #C8A167 #67C8A1
tetradic
#A167C8 #C87167 #8EC867 #67BFC8
square
#A167C8 #C87167 #8EC867 #67BFC8
split-complementary
#A167C8 #BFC867 #67C871
monochromatic
#633085 #8440B2 #A167C8 #BD94D8 #D9C1E9

Accessibility & contrast

On white

3.97
#A167C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#A167C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A167C8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A167C8#FFFFFF#000000##000000
##A167C81.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7DCB
Deuteranopia (green-blind)
#6081C5
Tritanopia (blue-blind)
#9C778E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a167c8;
/* rgb */ color: rgb(161, 103, 200);
/* oklch */ color: oklch(61.6% 0.152 310.2);
Tailwind
colors: {
  custom: {
    50: '#bf94d9',
    500: '#a167c8',
    950: '#000000',
  },
}
SCSS
$custom: #a167c8;
$custom-light: #bf94d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a167c8",
  "rgb": {
    "r": 161,
    "g": 103,
    "b": 200
  },
  "hsl": {
    "h": 275.876,
    "s": 46.86,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61554,
    "c": 0.15225,
    "h": 310.2
  },
  "luminance": 0.21448
}

Semantic roles & 50–950 ramp

primary
#A167C8
secondary
#C2D8B3
accent
#D65187
background
#FBF9FD
surface
#F7F1FA
border
#D0CBD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #A167C8

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

Preview Lab → · Contrast checker → · Palette generator →

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