#8161F3#8161F3

#8161F3 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.2% C 0.209 H 288.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8161F3
RGBrgb(129, 97, 243)
HSLhsl(253, 86%, 67%)
HSVhsv(253, 60%, 95%)
CMYKcmyk(46.9%, 60.1%, 0%, 4.7%)
CIE-LABlab(51.48, 47.67, -69.26)
CIE-LCHlch(51.48, 84.08, 304.54°)
OKLaboklab(60.18% 0.0666 -0.198)
OKLCHoklch(60.18% 0.209 288.6)
XYZxyz(29.5010, 19.6864, 87.0221)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161F3 #D3F361
analogous
#618AF3 #8161F3 #CA61F3
triadic
#8161F3 #F38161 #61F381
tetradic
#8161F3 #F3618A #D3F361 #61F3CA
square
#8161F3 #F3618A #D3F361 #61F3CA
split-complementary
#8161F3 #F3CA61 #8AF361
monochromatic
#380FCA #5428EF #8161F3 #AE9AF7 #DCD3FC

Accessibility & contrast

On white

4.25
#8161F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8161F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161F3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161F3#FFFFFF#000000##000000
##8161F31.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#5C83A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8161f3;
/* rgb */ color: rgb(129, 97, 243);
/* oklch */ color: oklch(60.2% 0.209 288.6);
Tailwind
colors: {
  custom: {
    50: '#ad8ff8',
    500: '#8161f3',
    950: '#000000',
  },
}
SCSS
$custom: #8161f3;
$custom-light: #ad8ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#8161f3",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 243
  },
  "hsl": {
    "h": 253.151,
    "s": 85.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60183,
    "c": 0.20895,
    "h": 288.6
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#8161F3
secondary
#E5EFC0
accent
#E203B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8161F3

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

Preview Lab → · Contrast checker → · Palette generator →

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