#8161F0#8161F0

#8161F0 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.0% C 0.205 H 289.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8161F0
RGBrgb(129, 97, 240)
HSLhsl(253, 83%, 66%)
HSVhsv(253, 60%, 94%)
CMYKcmyk(46.3%, 59.6%, 0%, 5.9%)
CIE-LABlab(51.27, 46.83, -67.91)
CIE-LCHlch(51.27, 82.49, 304.59°)
OKLaboklab(59.97% 0.0668 -0.1941)
OKLCHoklch(59.97% 0.205 289)
XYZxyz(29.0516, 19.5066, 84.6556)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161F0 #D0F061
analogous
#6188F0 #8161F0 #C961F0
triadic
#8161F0 #F08161 #61F081
tetradic
#8161F0 #F06188 #D0F061 #61F0C9
square
#8161F0 #F06188 #D0F061 #61F0C9
split-complementary
#8161F0 #F0C961 #88F061
monochromatic
#3A13C4 #5429EB #8161F0 #AE99F5 #DAD1FB

Accessibility & contrast

On white

4.28
#8161F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8161F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161F0
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161F0#FFFFFF#000000##000000
##8161F01.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#5D829F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8161f0;
/* rgb */ color: rgb(129, 97, 240);
/* oklch */ color: oklch(60.0% 0.205 289.0);
Tailwind
colors: {
  custom: {
    50: '#ad8ff6',
    500: '#8161f0',
    950: '#000000',
  },
}
SCSS
$custom: #8161f0;
$custom-light: #ad8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#8161f0",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 240
  },
  "hsl": {
    "h": 253.427,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59968,
    "c": 0.20525,
    "h": 289
  },
  "luminance": 0.19508
}

Semantic roles & 50–950 ramp

primary
#8161F0
secondary
#E3EEBF
accent
#DF06AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8161F0

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

Preview Lab → · Contrast checker → · Palette generator →

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