#8161FA#8161FA

#8161FA is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.217 H 287.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8161FA
RGBrgb(129, 97, 250)
HSLhsl(253, 94%, 68%)
HSVhsv(253, 61%, 98%)
CMYKcmyk(48.4%, 61.2%, 0%, 2%)
CIE-LABlab(51.97, 49.63, -72.36)
CIE-LCHlch(51.97, 87.75, 304.45°)
OKLaboklab(60.7% 0.0662 -0.2072)
OKLCHoklch(60.7% 0.218 287.7)
XYZxyz(30.5783, 20.1173, 92.6958)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161FA #DAFA61
analogous
#618DFA #8161FA #CD61FA
triadic
#8161FA #FA8161 #61FA81
tetradic
#8161FA #FA618D #DAFA61 #61FACD
square
#8161FA #FA618D #DAFA61 #61FACD
split-complementary
#8161FA #FACD61 #8DFA61
monochromatic
#3307DA #5226F8 #8161FA #B09CFC #E0D8FE

Accessibility & contrast

On white

4.18
#8161FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8161FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161FA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161FA#FFFFFF#000000##000000
##8161FA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0078F7
Tritanopia (blue-blind)
#5785A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8161fa;
/* rgb */ color: rgb(129, 97, 250);
/* oklch */ color: oklch(60.7% 0.217 287.7);
Tailwind
colors: {
  custom: {
    50: '#ae8ffd',
    500: '#8161fa',
    950: '#000000',
  },
}
SCSS
$custom: #8161fa;
$custom-light: #ae8ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8161fa",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 250
  },
  "hsl": {
    "h": 252.549,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60695,
    "c": 0.2175,
    "h": 287.7
  },
  "luminance": 0.20119
}

Semantic roles & 50–950 ramp

primary
#8161FA
secondary
#E9F3C4
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #8161FA

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

Preview Lab → · Contrast checker → · Palette generator →

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