#8161DC#8161DC

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

Color values

HEX#8161DC
RGBrgb(129, 97, 220)
HSLhsl(256, 64%, 62%)
HSVhsv(256, 56%, 86%)
CMYKcmyk(41.4%, 55.9%, 0%, 13.7%)
CIE-LABlab(49.96, 41.28, -58.78)
CIE-LCHlch(49.96, 71.83, 305.08°)
OKLaboklab(58.58% 0.0671 -0.1672)
OKLCHoklch(58.58% 0.18 291.9)
XYZxyz(26.2427, 18.3831, 69.8619)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161DC #BCDC61
analogous
#617EDC #8161DC #BF61DC
triadic
#8161DC #DC8161 #61DC81
tetradic
#8161DC #DC617E #BCDC61 #61DCBF
square
#8161DC #DC617E #BCDC61 #61DCBF
split-complementary
#8161DC #DCBF61 #7EDC61
monochromatic
#44239F #592FD1 #8161DC #A993E7 #D1C5F2

Accessibility & contrast

On white

4.49
#8161DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8161DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161DC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161DC#FFFFFF#000000##000000
##8161DC1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E79E0
Deuteranopia (green-blind)
#2774D9
Tritanopia (blue-blind)
#687B95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8161dc;
/* rgb */ color: rgb(129, 97, 220);
/* oklch */ color: oklch(58.6% 0.180 291.9);
Tailwind
colors: {
  custom: {
    50: '#ab8fe8',
    500: '#8161dc',
    950: '#000000',
  },
}
SCSS
$custom: #8161dc;
$custom-light: #ab8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8161dc",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 255.61,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.1802,
    "h": 291.9
  },
  "luminance": 0.18384
}

Semantic roles & 50–950 ramp

primary
#8161DC
secondary
#D7E3B6
accent
#CC1A9D
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8161DC

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

Preview Lab → · Contrast checker → · Palette generator →

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