#8161F9#8161F9

#8161F9 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.6% C 0.216 H 287.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8161F9
RGBrgb(129, 97, 249)
HSLhsl(253, 93%, 68%)
HSVhsv(253, 61%, 98%)
CMYKcmyk(48.2%, 61%, 0%, 2.4%)
CIE-LABlab(51.90, 49.35, -71.92)
CIE-LCHlch(51.90, 87.23, 304.46°)
OKLaboklab(60.62% 0.0663 -0.2059)
OKLCHoklch(60.62% 0.216 287.8)
XYZxyz(30.4219, 20.0547, 91.8722)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161F9 #D9F961
analogous
#618DF9 #8161F9 #CD61F9
triadic
#8161F9 #F98161 #61F981
tetradic
#8161F9 #F9618D #D9F961 #61F9CD
square
#8161F9 #F9618D #D9F961 #61F9CD
split-complementary
#8161F9 #F9CD61 #8DF961
monochromatic
#3408D7 #5226F7 #8161F9 #B09CFB #DFD7FD

Accessibility & contrast

On white

4.19
#8161F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8161F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161F9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161F9#FFFFFF#000000##000000
##8161F91.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFE
Deuteranopia (green-blind)
#0078F6
Tritanopia (blue-blind)
#5885A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8161f9;
/* rgb */ color: rgb(129, 97, 249);
/* oklch */ color: oklch(60.6% 0.216 287.8);
Tailwind
colors: {
  custom: {
    50: '#ae8ffc',
    500: '#8161f9',
    950: '#000000',
  },
}
SCSS
$custom: #8161f9;
$custom-light: #ae8ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#8161f9",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 249
  },
  "hsl": {
    "h": 252.632,
    "s": 92.683,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60621,
    "c": 0.21628,
    "h": 287.8
  },
  "luminance": 0.20056
}

Semantic roles & 50–950 ramp

primary
#8161F9
secondary
#E8F2C3
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #8161F9

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

Preview Lab → · Contrast checker → · Palette generator →

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