#8161FF#8161FF

#8161FF is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.224 H 287.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8161FF
RGBrgb(129, 97, 255)
HSLhsl(252, 100%, 69%)
HSVhsv(252, 62%, 100%)
CMYKcmyk(49.4%, 62%, 0%, 0%)
CIE-LABlab(52.33, 51.04, -74.56)
CIE-LCHlch(52.33, 90.36, 304.39°)
OKLaboklab(61.07% 0.0658 -0.2136)
OKLCHoklch(61.07% 0.224 287.1)
XYZxyz(31.3727, 20.4350, 96.8796)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161FF #DFFF61
analogous
#6190FF #8161FF #D061FF
triadic
#8161FF #FF8161 #61FF81
tetradic
#8161FF #FF6190 #DFFF61 #61FFD0
square
#8161FF #FF6190 #DFFF61 #61FFD0
split-complementary
#8161FF #FFD061 #90FF61
monochromatic
#2F00E6 #5024FF #8161FF #B29EFF #E3DBFF

Accessibility & contrast

On white

4.13
#8161FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8161FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161FF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161FF#FFFFFF#000000##000000
##8161FF1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0078FC
Tritanopia (blue-blind)
#5487A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8161ff;
/* rgb */ color: rgb(129, 97, 255);
/* oklch */ color: oklch(61.1% 0.224 287.1);
Tailwind
colors: {
  custom: {
    50: '#af8fff',
    500: '#8161ff',
    950: '#000000',
  },
}
SCSS
$custom: #8161ff;
$custom-light: #af8fff;
$custom-dark: #000000;
JSON
{
  "hex": "#8161ff",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 255
  },
  "hsl": {
    "h": 252.152,
    "s": 100,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61066,
    "c": 0.22355,
    "h": 287.1
  },
  "luminance": 0.20437
}

Semantic roles & 50–950 ramp

primary
#8161FF
secondary
#ECF5C7
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #8161FF

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

Preview Lab → · Contrast checker → · Palette generator →

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