#8161E8#8161E8

#8161E8 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.4% C 0.195 H 290.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8161E8
RGBrgb(129, 97, 232)
HSLhsl(254, 75%, 65%)
HSVhsv(254, 58%, 91%)
CMYKcmyk(44.4%, 58.2%, 0%, 9%)
CIE-LABlab(50.74, 44.60, -64.30)
CIE-LCHlch(50.74, 78.25, 304.75°)
OKLaboklab(59.4% 0.067 -0.1835)
OKLCHoklch(59.4% 0.195 290.1)
XYZxyz(27.8894, 19.0417, 78.5342)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161E8 #C8E861
analogous
#6185E8 #8161E8 #C461E8
triadic
#8161E8 #E88161 #61E881
tetradic
#8161E8 #E86185 #C8E861 #61E8C4
square
#8161E8 #E86185 #C8E861 #61E8C4
split-complementary
#8161E8 #E8C461 #85E861
monochromatic
#3F1AB4 #562CE0 #8161E8 #AC96F0 #D6CCF8

Accessibility & contrast

On white

4.37
#8161E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8161E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161E8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161E8#FFFFFF#000000##000000
##8161E81.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#0076E5
Tritanopia (blue-blind)
#627F9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8161e8;
/* rgb */ color: rgb(129, 97, 232);
/* oklch */ color: oklch(59.4% 0.195 290.1);
Tailwind
colors: {
  custom: {
    50: '#ac8ff0',
    500: '#8161e8',
    950: '#000000',
  },
}
SCSS
$custom: #8161e8;
$custom-light: #ac8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#8161e8",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 232
  },
  "hsl": {
    "h": 254.222,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59402,
    "c": 0.19533,
    "h": 290.1
  },
  "luminance": 0.19043
}

Semantic roles & 50–950 ramp

primary
#8161E8
secondary
#DFEABB
accent
#D70FA7
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8161E8

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

Preview Lab → · Contrast checker → · Palette generator →

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