#8161F6#8161F6

#8161F6 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.4% C 0.213 H 288.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8161F6
RGBrgb(129, 97, 246)
HSLhsl(253, 89%, 67%)
HSVhsv(253, 61%, 96%)
CMYKcmyk(47.6%, 60.6%, 0%, 3.5%)
CIE-LABlab(51.69, 48.51, -70.59)
CIE-LCHlch(51.69, 85.65, 304.50°)
OKLaboklab(60.4% 0.0665 -0.202)
OKLCHoklch(60.4% 0.213 288.2)
XYZxyz(29.9577, 19.8691, 89.4275)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161F6 #D6F661
analogous
#618BF6 #8161F6 #CC61F6
triadic
#8161F6 #F68161 #61F681
tetradic
#8161F6 #F6618B #D6F661 #61F6CC
square
#8161F6 #F6618B #D6F661 #61F6CC
split-complementary
#8161F6 #F6CC61 #8BF661
monochromatic
#360CD1 #5327F3 #8161F6 #AF9BF9 #DDD5FD

Accessibility & contrast

On white

4.22
#8161F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8161F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161F6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161F6#FFFFFF#000000##000000
##8161F61.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#5A84A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8161f6;
/* rgb */ color: rgb(129, 97, 246);
/* oklch */ color: oklch(60.4% 0.213 288.2);
Tailwind
colors: {
  custom: {
    50: '#ae8ffa',
    500: '#8161f6',
    950: '#000000',
  },
}
SCSS
$custom: #8161f6;
$custom-light: #ae8ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#8161f6",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 246
  },
  "hsl": {
    "h": 252.886,
    "s": 89.222,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60401,
    "c": 0.21262,
    "h": 288.2
  },
  "luminance": 0.1987
}

Semantic roles & 50–950 ramp

primary
#8161F6
secondary
#E7F1C2
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8161F6

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

Preview Lab → · Contrast checker → · Palette generator →

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