#8161BD#8161BD

#8161BD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.6% C 0.140 H 297.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8161BD
RGBrgb(129, 97, 189)
HSLhsl(261, 41%, 56%)
HSVhsv(261, 49%, 74%)
CMYKcmyk(31.7%, 48.7%, 0%, 25.9%)
CIE-LABlab(48.12, 32.97, -43.96)
CIE-LCHlch(48.12, 54.95, 306.87°)
OKLaboklab(56.63% 0.0653 -0.1238)
OKLCHoklch(56.63% 0.14 297.8)
XYZxyz(22.5110, 16.8904, 50.2084)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161BD #9DBD61
analogous
#616FBD #8161BD #AF61BD
triadic
#8161BD #BD8161 #61BD81
tetradic
#8161BD #BD616F #9DBD61 #61BDAF
square
#8161BD #BD616F #9DBD61 #61BDAF
split-complementary
#8161BD #BDAF61 #6FBD61
monochromatic
#483073 #62429F #8161BD #A38CCF #C6B7E1

Accessibility & contrast

On white

4.80
#8161BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8161BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8161BD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161BD#FFFFFF#000000##FFFFFF
##8161BD1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4272C0
Deuteranopia (green-blind)
#4971BB
Tritanopia (blue-blind)
#747286
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8161bd;
/* rgb */ color: rgb(129, 97, 189);
/* oklch */ color: oklch(56.6% 0.140 297.8);
Tailwind
colors: {
  custom: {
    50: '#a88ed1',
    500: '#8161bd',
    950: '#000000',
  },
}
SCSS
$custom: #8161bd;
$custom-light: #a88ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8161bd",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 189
  },
  "hsl": {
    "h": 260.87,
    "s": 41.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56626,
    "c": 0.13995,
    "h": 297.8
  },
  "luminance": 0.16891
}

Semantic roles & 50–950 ramp

primary
#8161BD
secondary
#C3D0AA
accent
#D157A6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8161BD

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

Preview Lab → · Contrast checker → · Palette generator →

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