#8161EA#8161EA

#8161EA is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.5% C 0.198 H 289.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8161EA
RGBrgb(129, 97, 234)
HSLhsl(254, 77%, 65%)
HSVhsv(254, 59%, 92%)
CMYKcmyk(44.9%, 58.5%, 0%, 8.2%)
CIE-LABlab(50.87, 45.15, -65.21)
CIE-LCHlch(50.87, 79.32, 304.70°)
OKLaboklab(59.54% 0.067 -0.1861)
OKLCHoklch(59.54% 0.198 289.8)
XYZxyz(28.1750, 19.1560, 80.0389)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161EA #CAEA61
analogous
#6185EA #8161EA #C661EA
triadic
#8161EA #EA8161 #61EA81
tetradic
#8161EA #EA6185 #CAEA61 #61EAC6
square
#8161EA #EA6185 #CAEA61 #61EAC6
split-complementary
#8161EA #EAC661 #85EA61
monochromatic
#3E18B8 #562BE3 #8161EA #AC97F1 #D7CDF8

Accessibility & contrast

On white

4.35
#8161EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8161EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161EA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161EA#FFFFFF#000000##000000
##8161EA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#61809C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8161ea;
/* rgb */ color: rgb(129, 97, 234);
/* oklch */ color: oklch(59.5% 0.198 289.8);
Tailwind
colors: {
  custom: {
    50: '#ac8ff2',
    500: '#8161ea',
    950: '#000000',
  },
}
SCSS
$custom: #8161ea;
$custom-light: #ac8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8161ea",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 254.015,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59542,
    "c": 0.19782,
    "h": 289.8
  },
  "luminance": 0.19157
}

Semantic roles & 50–950 ramp

primary
#8161EA
secondary
#E0EBBC
accent
#D90DA9
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8161EA

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

Preview Lab → · Contrast checker → · Palette generator →

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