#A161C8#A161C8

#A161C8 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.6% C 0.162 H 311.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A161C8
RGBrgb(161, 97, 200)
HSLhsl(277, 48%, 58%)
HSVhsv(277, 52%, 78%)
CMYKcmyk(19.5%, 51.5%, 0%, 21.6%)
CIE-LABlab(52.17, 44.29, -43.65)
CIE-LCHlch(52.17, 62.19, 315.41°)
OKLaboklab(60.62% 0.1066 -0.122)
OKLCHoklch(60.62% 0.162 311.1)
XYZxyz(29.3961, 20.2972, 57.0016)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161C8 #88C861
analogous
#6D61C8 #A161C8 #C861BB
triadic
#A161C8 #C8A161 #61C8A1
tetradic
#A161C8 #C86D61 #88C861 #61BBC8
square
#A161C8 #C86D61 #88C861 #61BBC8
split-complementary
#A161C8 #BBC861 #61C86D
monochromatic
#622D82 #843DAF #A161C8 #BC8ED8 #D7BCE8

Accessibility & contrast

On white

4.15
#A161C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A161C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161C8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161C8#FFFFFF#000000##000000
##A161C81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4679CB
Deuteranopia (green-blind)
#5A7EC5
Tritanopia (blue-blind)
#9D728B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a161c8;
/* rgb */ color: rgb(161, 97, 200);
/* oklch */ color: oklch(60.6% 0.162 311.1);
Tailwind
colors: {
  custom: {
    50: '#bf90d9',
    500: '#a161c8',
    950: '#000000',
  },
}
SCSS
$custom: #a161c8;
$custom-light: #bf90d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a161c8",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 200
  },
  "hsl": {
    "h": 277.282,
    "s": 48.357,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60616,
    "c": 0.16205,
    "h": 311.1
  },
  "luminance": 0.20297
}

Semantic roles & 50–950 ramp

primary
#A161C8
secondary
#BDD7AE
accent
#D85083
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120D15
muted
#817D83

Preview Lab

Preview with #A161C8

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

Preview Lab → · Contrast checker → · Palette generator →

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