#8161ED#8161ED

#8161ED is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.8% C 0.202 H 289.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8161ED
RGBrgb(129, 97, 237)
HSLhsl(254, 80%, 65%)
HSVhsv(254, 59%, 93%)
CMYKcmyk(45.6%, 59.1%, 0%, 7.1%)
CIE-LABlab(51.07, 45.99, -66.56)
CIE-LCHlch(51.07, 80.91, 304.64°)
OKLaboklab(59.75% 0.0669 -0.1901)
OKLCHoklch(59.75% 0.202 289.4)
XYZxyz(28.6097, 19.3299, 82.3279)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161ED #CDED61
analogous
#6187ED #8161ED #C761ED
triadic
#8161ED #ED8161 #61ED81
tetradic
#8161ED #ED6187 #CDED61 #61EDC7
square
#8161ED #ED6187 #CDED61 #61EDC7
split-complementary
#8161ED #EDC761 #87ED61
monochromatic
#3C16BE #552AE7 #8161ED #AD98F3 #D9CFFA

Accessibility & contrast

On white

4.32
#8161ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8161ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161ED
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161ED#FFFFFF#000000##000000
##8161ED1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#5F819E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8161ed;
/* rgb */ color: rgb(129, 97, 237);
/* oklch */ color: oklch(59.8% 0.202 289.4);
Tailwind
colors: {
  custom: {
    50: '#ad8ff4',
    500: '#8161ed',
    950: '#000000',
  },
}
SCSS
$custom: #8161ed;
$custom-light: #ad8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8161ed",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 237
  },
  "hsl": {
    "h": 253.714,
    "s": 79.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59754,
    "c": 0.20154,
    "h": 289.4
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#8161ED
secondary
#E2ECBD
accent
#DC0AAC
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #8161ED

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

Preview Lab → · Contrast checker → · Palette generator →

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