#8161DD#8161DD

#8161DD is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.6% C 0.181 H 291.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8161DD
RGBrgb(129, 97, 221)
HSLhsl(255, 65%, 62%)
HSVhsv(255, 56%, 87%)
CMYKcmyk(41.6%, 56.1%, 0%, 13.3%)
CIE-LABlab(50.02, 41.56, -59.25)
CIE-LCHlch(50.02, 72.37, 305.05°)
OKLaboklab(58.65% 0.0671 -0.1686)
OKLCHoklch(58.65% 0.181 291.7)
XYZxyz(26.3755, 18.4362, 70.5615)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161DD #BDDD61
analogous
#617FDD #8161DD #BF61DD
triadic
#8161DD #DD8161 #61DD81
tetradic
#8161DD #DD617F #BDDD61 #61DDBF
square
#8161DD #DD617F #BDDD61 #61DDBF
split-complementary
#8161DD #DDBF61 #7FDD61
monochromatic
#4323A1 #592FD2 #8161DD #A993E8 #D1C6F3

Accessibility & contrast

On white

4.48
#8161DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8161DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161DD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161DD#FFFFFF#000000##000000
##8161DD1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B79E1
Deuteranopia (green-blind)
#2574DA
Tritanopia (blue-blind)
#687C96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8161dd;
/* rgb */ color: rgb(129, 97, 221);
/* oklch */ color: oklch(58.6% 0.181 291.7);
Tailwind
colors: {
  custom: {
    50: '#ab8fe8',
    500: '#8161dd',
    950: '#000000',
  },
}
SCSS
$custom: #8161dd;
$custom-light: #ab8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8161dd",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 221
  },
  "hsl": {
    "h": 255.484,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58648,
    "c": 0.18148,
    "h": 291.7
  },
  "luminance": 0.18437
}

Semantic roles & 50–950 ramp

primary
#8161DD
secondary
#D8E4B6
accent
#CC199E
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8161DD

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

Preview Lab → · Contrast checker → · Palette generator →

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