#8167DD#8167DD

#8167DD is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.6% C 0.173 H 290.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8167DD
RGBrgb(129, 103, 221)
HSLhsl(253, 63%, 64%)
HSVhsv(253, 53%, 87%)
CMYKcmyk(41.6%, 53.4%, 0%, 13.3%)
CIE-LABlab(51.37, 38.11, -57.08)
CIE-LCHlch(51.37, 68.63, 303.73°)
OKLaboklab(59.64% 0.06 -0.1622)
OKLCHoklch(59.64% 0.173 290.3)
XYZxyz(26.9510, 19.5872, 70.7533)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167DD #C3DD67
analogous
#6788DD #8167DD #BC67DD
triadic
#8167DD #DD8167 #67DD81
tetradic
#8167DD #DD6788 #C3DD67 #67DDBC
square
#8167DD #DD6788 #C3DD67 #67DDBC
split-complementary
#8167DD #DDBC67 #88DD67
monochromatic
#4125A5 #5835D2 #8167DD #AA99E8 #D4CBF3

Accessibility & contrast

On white

4.27
#8167DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8167DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167DD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167DD#FFFFFF#000000##000000
##8167DD1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7DE1
Deuteranopia (green-blind)
#3378DA
Tritanopia (blue-blind)
#678098
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8167dd;
/* rgb */ color: rgb(129, 103, 221);
/* oklch */ color: oklch(59.6% 0.173 290.3);
Tailwind
colors: {
  custom: {
    50: '#ab93e8',
    500: '#8167dd',
    950: '#000000',
  },
}
SCSS
$custom: #8167dd;
$custom-light: #ab93e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8167dd",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 221
  },
  "hsl": {
    "h": 253.22,
    "s": 63.441,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59644,
    "c": 0.17297,
    "h": 290.3
  },
  "luminance": 0.19588
}

Semantic roles & 50–950 ramp

primary
#8167DD
secondary
#DCE5BB
accent
#CB1AA4
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #8167DD

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

Preview Lab → · Contrast checker → · Palette generator →

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