#8161CE#8161CE

#8161CE is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.7% C 0.162 H 294.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8161CE
RGBrgb(129, 97, 206)
HSLhsl(258, 53%, 59%)
HSVhsv(258, 53%, 81%)
CMYKcmyk(37.4%, 52.9%, 0%, 19.2%)
CIE-LABlab(49.10, 37.47, -52.19)
CIE-LCHlch(49.10, 64.25, 305.68°)
OKLaboklab(57.67% 0.0667 -0.1479)
OKLCHoklch(57.67% 0.162 294.3)
XYZxyz(24.4656, 17.6722, 60.5026)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161CE #AECE61
analogous
#6178CE #8161CE #B861CE
triadic
#8161CE #CE8161 #61CE81
tetradic
#8161CE #CE6178 #AECE61 #61CEB8
square
#8161CE #CE6178 #AECE61 #61CEB8
split-complementary
#8161CE #CEB861 #78CE61
monochromatic
#472B8A #5F39B9 #8161CE #A690DC #CCBEEB

Accessibility & contrast

On white

4.63
#8161CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8161CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8161CE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161CE#FFFFFF#000000##FFFFFF
##8161CE1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3376D2
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#6E778E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8161ce;
/* rgb */ color: rgb(129, 97, 206);
/* oklch */ color: oklch(57.7% 0.162 294.3);
Tailwind
colors: {
  custom: {
    50: '#aa8fdd',
    500: '#8161ce',
    950: '#000000',
  },
}
SCSS
$custom: #8161ce;
$custom-light: #aa8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8161ce",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 206
  },
  "hsl": {
    "h": 257.615,
    "s": 52.657,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57667,
    "c": 0.16222,
    "h": 294.3
  },
  "luminance": 0.17673
}

Semantic roles & 50–950 ramp

primary
#8161CE
secondary
#CEDBB0
accent
#DC4CB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8161CE

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

Preview Lab → · Contrast checker → · Palette generator →

#8161CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva