#8161EC#8161EC

#8161EC is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.7% C 0.200 H 289.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8161EC
RGBrgb(129, 97, 236)
HSLhsl(254, 79%, 65%)
HSVhsv(254, 59%, 93%)
CMYKcmyk(45.3%, 58.9%, 0%, 7.5%)
CIE-LABlab(51.00, 45.71, -66.11)
CIE-LCHlch(51.00, 80.38, 304.66°)
OKLaboklab(59.68% 0.0669 -0.1888)
OKLCHoklch(59.68% 0.2 289.5)
XYZxyz(28.4640, 19.2716, 81.5606)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161EC #CCEC61
analogous
#6186EC #8161EC #C661EC
triadic
#8161EC #EC8161 #61EC81
tetradic
#8161EC #EC6186 #CCEC61 #61ECC6
square
#8161EC #EC6186 #CCEC61 #61ECC6
split-complementary
#8161EC #ECC661 #86EC61
monochromatic
#3D17BC #552AE5 #8161EC #AD98F3 #D8CEF9

Accessibility & contrast

On white

4.33
#8161EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8161EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161EC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161EC#FFFFFF#000000##000000
##8161EC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#60819D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8161ec;
/* rgb */ color: rgb(129, 97, 236);
/* oklch */ color: oklch(59.7% 0.200 289.5);
Tailwind
colors: {
  custom: {
    50: '#ac8ff3',
    500: '#8161ec',
    950: '#000000',
  },
}
SCSS
$custom: #8161ec;
$custom-light: #ac8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#8161ec",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 253.813,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59683,
    "c": 0.2003,
    "h": 289.5
  },
  "luminance": 0.19273
}

Semantic roles & 50–950 ramp

primary
#8161EC
secondary
#E1ECBD
accent
#DB0BAB
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8161EC

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

Preview Lab → · Contrast checker → · Palette generator →

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