#8167D2#8167D2

#8167D2 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 58.9% C 0.159 H 292.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8167D2
RGBrgb(129, 103, 210)
HSLhsl(255, 54%, 61%)
HSVhsv(255, 51%, 82%)
CMYKcmyk(38.6%, 51%, 0%, 17.6%)
CIE-LABlab(50.71, 35.08, -51.89)
CIE-LCHlch(50.71, 62.63, 304.06°)
OKLaboklab(58.94% 0.0594 -0.147)
OKLCHoklch(58.94% 0.159 292)
XYZxyz(25.5333, 19.0201, 63.2862)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167D2 #B8D267
analogous
#6783D2 #8167D2 #B767D2
triadic
#8167D2 #D28167 #67D281
tetradic
#8167D2 #D26783 #B8D267 #67D2B7
square
#8167D2 #D26783 #B8D267 #67D2B7
split-complementary
#8167D2 #D2B767 #83D267
monochromatic
#452C93 #5B3AC2 #8167D2 #A896E0 #CFC5EE

Accessibility & contrast

On white

4.37
#8167D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8167D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167D2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167D2#FFFFFF#000000##000000
##8167D21.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7AD6
Deuteranopia (green-blind)
#3F77D0
Tritanopia (blue-blind)
#6C7D93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8167d2;
/* rgb */ color: rgb(129, 103, 210);
/* oklch */ color: oklch(58.9% 0.159 292.0);
Tailwind
colors: {
  custom: {
    50: '#aa93e0',
    500: '#8167d2',
    950: '#000000',
  },
}
SCSS
$custom: #8167d2;
$custom-light: #aa93e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8167d2",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 210
  },
  "hsl": {
    "h": 254.579,
    "s": 54.315,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58944,
    "c": 0.15854,
    "h": 292
  },
  "luminance": 0.19021
}

Semantic roles & 50–950 ramp

primary
#8167D2
secondary
#D5DEB6
accent
#C2249B
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8167D2

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

Preview Lab → · Contrast checker → · Palette generator →

#8167D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva