#8161E7#8161E7

#8161E7 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.3% C 0.194 H 290.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8161E7
RGBrgb(129, 97, 231)
HSLhsl(254, 74%, 64%)
HSVhsv(254, 58%, 91%)
CMYKcmyk(44.2%, 58%, 0%, 9.4%)
CIE-LABlab(50.67, 44.32, -63.84)
CIE-LCHlch(50.67, 77.72, 304.77°)
OKLaboklab(59.33% 0.0671 -0.1821)
OKLCHoklch(59.33% 0.194 290.2)
XYZxyz(27.7477, 18.9851, 77.7883)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161E7 #C7E761
analogous
#6184E7 #8161E7 #C461E7
triadic
#8161E7 #E78161 #61E781
tetradic
#8161E7 #E76184 #C7E761 #61E7C4
square
#8161E7 #E76184 #C7E761 #61E7C4
split-complementary
#8161E7 #E7C461 #84E761
monochromatic
#3F1BB2 #572CDF #8161E7 #AB96EF #D6CBF7

Accessibility & contrast

On white

4.38
#8161E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8161E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161E7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161E7#FFFFFF#000000##000000
##8161E71.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#0476E4
Tritanopia (blue-blind)
#637F9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8161e7;
/* rgb */ color: rgb(129, 97, 231);
/* oklch */ color: oklch(59.3% 0.194 290.2);
Tailwind
colors: {
  custom: {
    50: '#ac8fef',
    500: '#8161e7',
    950: '#000000',
  },
}
SCSS
$custom: #8161e7;
$custom-light: #ac8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#8161e7",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 254.328,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59332,
    "c": 0.19407,
    "h": 290.2
  },
  "luminance": 0.18986
}

Semantic roles & 50–950 ramp

primary
#8161E7
secondary
#DEE9BB
accent
#D610A6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8161E7

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

Preview Lab → · Contrast checker → · Palette generator →

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