#8161FB#8161FB

#8161FB is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.8% C 0.219 H 287.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8161FB
RGBrgb(129, 97, 251)
HSLhsl(252, 95%, 68%)
HSVhsv(252, 61%, 98%)
CMYKcmyk(48.6%, 61.4%, 0%, 1.6%)
CIE-LABlab(52.04, 49.91, -72.80)
CIE-LCHlch(52.04, 88.27, 304.43°)
OKLaboklab(60.77% 0.0661 -0.2085)
OKLCHoklch(60.77% 0.219 287.6)
XYZxyz(30.7355, 20.1802, 93.5238)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161FB #DBFB61
analogous
#618EFB #8161FB #CE61FB
triadic
#8161FB #FB8161 #61FB81
tetradic
#8161FB #FB618E #DBFB61 #61FBCE
square
#8161FB #FB618E #DBFB61 #61FBCE
split-complementary
#8161FB #FBCE61 #8EFB61
monochromatic
#3206DC #5125F9 #8161FB #B19DFD #E0D8FE

Accessibility & contrast

On white

4.17
#8161FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8161FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161FB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161FB#FFFFFF#000000##000000
##8161FB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0078F8
Tritanopia (blue-blind)
#5685A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8161fb;
/* rgb */ color: rgb(129, 97, 251);
/* oklch */ color: oklch(60.8% 0.219 287.6);
Tailwind
colors: {
  custom: {
    50: '#ae8ffe',
    500: '#8161fb',
    950: '#000000',
  },
}
SCSS
$custom: #8161fb;
$custom-light: #ae8ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#8161fb",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 251
  },
  "hsl": {
    "h": 252.468,
    "s": 95.062,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.21871,
    "h": 287.6
  },
  "luminance": 0.20182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8161FB

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

Preview Lab → · Contrast checker → · Palette generator →

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