#8161F5#8161F5

#8161F5 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.3% C 0.211 H 288.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8161F5
RGBrgb(129, 97, 245)
HSLhsl(253, 88%, 67%)
HSVhsv(253, 60%, 96%)
CMYKcmyk(47.3%, 60.4%, 0%, 3.9%)
CIE-LABlab(51.62, 48.23, -70.15)
CIE-LCHlch(51.62, 85.13, 304.51°)
OKLaboklab(60.33% 0.0665 -0.2007)
OKLCHoklch(60.33% 0.211 288.3)
XYZxyz(29.8046, 19.8078, 88.6214)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161F5 #D5F561
analogous
#618BF5 #8161F5 #CB61F5
triadic
#8161F5 #F58161 #61F581
tetradic
#8161F5 #F5618B #D5F561 #61F5CB
square
#8161F5 #F5618B #D5F561 #61F5CB
split-complementary
#8161F5 #F5CB61 #8BF561
monochromatic
#370DCF #5327F1 #8161F5 #AF9BF9 #DDD4FC

Accessibility & contrast

On white

4.23
#8161F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8161F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161F5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161F5#FFFFFF#000000##000000
##8161F51.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFA
Deuteranopia (green-blind)
#0077F2
Tritanopia (blue-blind)
#5A83A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8161f5;
/* rgb */ color: rgb(129, 97, 245);
/* oklch */ color: oklch(60.3% 0.211 288.3);
Tailwind
colors: {
  custom: {
    50: '#ad8ff9',
    500: '#8161f5',
    950: '#000000',
  },
}
SCSS
$custom: #8161f5;
$custom-light: #ad8ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#8161f5",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 245
  },
  "hsl": {
    "h": 252.973,
    "s": 88.095,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.2114,
    "h": 288.3
  },
  "luminance": 0.19809
}

Semantic roles & 50–950 ramp

primary
#8161F5
secondary
#E6F0C1
accent
#E501B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8161F5

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

Preview Lab → · Contrast checker → · Palette generator →

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