#8161CA#8161CA

#8161CA is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.4% C 0.157 H 295.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8161CA
RGBrgb(129, 97, 202)
HSLhsl(258, 50%, 59%)
HSVhsv(258, 52%, 79%)
CMYKcmyk(36.1%, 52%, 0%, 20.8%)
CIE-LABlab(48.86, 36.40, -50.28)
CIE-LCHlch(48.86, 62.07, 305.90°)
OKLaboklab(57.42% 0.0665 -0.1423)
OKLCHoklch(57.42% 0.157 295)
XYZxyz(23.9859, 17.4803, 57.9760)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161CA #AACA61
analogous
#6175CA #8161CA #B561CA
triadic
#8161CA #CA8161 #61CA81
tetradic
#8161CA #CA6175 #AACA61 #61CAB5
square
#8161CA #CA6175 #AACA61 #61CAB5
split-complementary
#8161CA #CAB561 #75CA61
monochromatic
#472C84 #603CB2 #8161CA #A68FD9 #CABDE9

Accessibility & contrast

On white

4.67
#8161CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8161CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8161CA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161CA#FFFFFF#000000##FFFFFF
##8161CA1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3775CE
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#70768C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8161ca;
/* rgb */ color: rgb(129, 97, 202);
/* oklch */ color: oklch(57.4% 0.157 295.0);
Tailwind
colors: {
  custom: {
    50: '#a98fdb',
    500: '#8161ca',
    950: '#000000',
  },
}
SCSS
$custom: #8161ca;
$custom-light: #a98fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8161ca",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 258.286,
    "s": 49.763,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57415,
    "c": 0.15702,
    "h": 295
  },
  "luminance": 0.17481
}

Semantic roles & 50–950 ramp

primary
#8161CA
secondary
#CCD8AF
accent
#D94FAF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8161CA

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

Preview Lab → · Contrast checker → · Palette generator →

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