#8162B3#8162B3

#8162B3 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.2% C 0.125 H 300.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8162B3
RGBrgb(129, 98, 179)
HSLhsl(263, 35%, 54%)
HSVhsv(263, 45%, 70%)
CMYKcmyk(27.9%, 45.3%, 0%, 29.8%)
CIE-LABlab(47.83, 29.81, -38.62)
CIE-LCHlch(47.83, 48.79, 307.66°)
OKLaboklab(56.23% 0.0626 -0.1082)
OKLCHoklch(56.23% 0.125 300.1)
XYZxyz(21.5558, 16.6571, 44.7186)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162B3 #94B362
analogous
#626CB3 #8162B3 #AA62B3
triadic
#8162B3 #B38162 #62B381
tetradic
#8162B3 #B3626C #94B362 #62B3AA
square
#8162B3 #B3626C #94B362 #62B3AA
split-complementary
#8162B3 #B3AA62 #6CB362
monochromatic
#473268 #634691 #8162B3 #A28BC7 #C3B4DB

Accessibility & contrast

On white

4.85
#8162B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8162B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8162B3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162B3#FFFFFF#000000##FFFFFF
##8162B31.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B6
Deuteranopia (green-blind)
#5171B1
Tritanopia (blue-blind)
#777082
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8162b3;
/* rgb */ color: rgb(129, 98, 179);
/* oklch */ color: oklch(56.2% 0.125 300.1);
Tailwind
colors: {
  custom: {
    50: '#a78fca',
    500: '#8162b3',
    950: '#000000',
  },
}
SCSS
$custom: #8162b3;
$custom-light: #a78fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8162b3",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 262.963,
    "s": 34.764,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5623,
    "c": 0.12502,
    "h": 300.1
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

primary
#8162B3
secondary
#BCCAA7
accent
#CB5DA1
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8162B3

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

Preview Lab → · Contrast checker → · Palette generator →

#8162B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva