#8161EF#8161EF

#8161EF is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 59.9% C 0.204 H 289.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8161EF
RGBrgb(129, 97, 239)
HSLhsl(254, 82%, 66%)
HSVhsv(254, 59%, 94%)
CMYKcmyk(46%, 59.4%, 0%, 6.3%)
CIE-LABlab(51.21, 46.55, -67.47)
CIE-LCHlch(51.21, 81.97, 304.60°)
OKLaboklab(59.9% 0.0668 -0.1928)
OKLCHoklch(59.9% 0.204 289.1)
XYZxyz(28.9035, 19.4474, 83.8754)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161EF #CFEF61
analogous
#6188EF #8161EF #C861EF
triadic
#8161EF #EF8161 #61EF81
tetradic
#8161EF #EF6188 #CFEF61 #61EFC8
square
#8161EF #EF6188 #CFEF61 #61EFC8
split-complementary
#8161EF #EFC861 #88EF61
monochromatic
#3B14C2 #5529E9 #8161EF #AD99F5 #DAD0FA

Accessibility & contrast

On white

4.29
#8161EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8161EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161EF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161EF#FFFFFF#000000##000000
##8161EF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#5E829F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8161ef;
/* rgb */ color: rgb(129, 97, 239);
/* oklch */ color: oklch(59.9% 0.204 289.1);
Tailwind
colors: {
  custom: {
    50: '#ad8ff5',
    500: '#8161ef',
    950: '#000000',
  },
}
SCSS
$custom: #8161ef;
$custom-light: #ad8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#8161ef",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 253.521,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59896,
    "c": 0.20402,
    "h": 289.1
  },
  "luminance": 0.19449
}

Semantic roles & 50–950 ramp

primary
#8161EF
secondary
#E3EDBE
accent
#DE08AE
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #8161EF

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

Preview Lab → · Contrast checker → · Palette generator →

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