#8160B2#8160B2

#8160B2 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.8% C 0.127 H 301.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8160B2
RGBrgb(129, 96, 178)
HSLhsl(264, 35%, 54%)
HSVhsv(264, 46%, 70%)
CMYKcmyk(27.5%, 46.1%, 0%, 30.2%)
CIE-LABlab(47.30, 30.73, -38.87)
CIE-LCHlch(47.30, 49.55, 308.33°)
OKLaboklab(55.82% 0.0653 -0.1089)
OKLCHoklch(55.82% 0.127 301)
XYZxyz(21.2702, 16.2472, 44.1263)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8160B2 #91B260
analogous
#6068B2 #8160B2 #AA60B2
triadic
#8160B2 #B28160 #60B281
tetradic
#8160B2 #B26068 #91B260 #60B2AA
square
#8160B2 #B26068 #91B260 #60B2AA
split-complementary
#8160B2 #B2AA60 #68B260
monochromatic
#473166 #63458F #8160B2 #A289C6 #C2B2DA

Accessibility & contrast

On white

4.94
#8160B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8160B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8160B2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8160B2#FFFFFF#000000##FFFFFF
##8160B21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#5070B0
Tritanopia (blue-blind)
#786E80
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8160b2;
/* rgb */ color: rgb(129, 96, 178);
/* oklch */ color: oklch(55.8% 0.127 301.0);
Tailwind
colors: {
  custom: {
    50: '#a78ec9',
    500: '#8160b2',
    950: '#000000',
  },
}
SCSS
$custom: #8160b2;
$custom-light: #a78ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#8160b2",
  "rgb": {
    "r": 129,
    "g": 96,
    "b": 178
  },
  "hsl": {
    "h": 264.146,
    "s": 34.746,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55817,
    "c": 0.127,
    "h": 301
  },
  "luminance": 0.16247
}

Semantic roles & 50–950 ramp

primary
#8160B2
secondary
#BAC8A5
accent
#CB5D9F
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8160B2

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

Preview Lab → · Contrast checker → · Palette generator →

#8160B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva