#8167DE#8167DE

#8167DE is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.7% C 0.174 H 290.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8167DE
RGBrgb(129, 103, 222)
HSLhsl(253, 64%, 64%)
HSVhsv(253, 54%, 87%)
CMYKcmyk(41.9%, 53.6%, 0%, 12.9%)
CIE-LABlab(51.43, 38.39, -57.55)
CIE-LCHlch(51.43, 69.18, 303.71°)
OKLaboklab(59.71% 0.0601 -0.1636)
OKLCHoklch(59.71% 0.174 290.2)
XYZxyz(27.0847, 19.6407, 71.4571)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167DE #C4DE67
analogous
#6788DE #8167DE #BC67DE
triadic
#8167DE #DE8167 #67DE81
tetradic
#8167DE #DE6788 #C4DE67 #67DEBC
square
#8167DE #DE6788 #C4DE67 #67DEBC
split-complementary
#8167DE #DEBC67 #88DE67
monochromatic
#4124A6 #5735D3 #8167DE #AB99E9 #D4CCF4

Accessibility & contrast

On white

4.26
#8167DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8167DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167DE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167DE#FFFFFF#000000##000000
##8167DE1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7DE2
Deuteranopia (green-blind)
#3178DB
Tritanopia (blue-blind)
#678099
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8167de;
/* rgb */ color: rgb(129, 103, 222);
/* oklch */ color: oklch(59.7% 0.174 290.2);
Tailwind
colors: {
  custom: {
    50: '#ab93e9',
    500: '#8167de',
    950: '#000000',
  },
}
SCSS
$custom: #8167de;
$custom-light: #ab93e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8167de",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 222
  },
  "hsl": {
    "h": 253.109,
    "s": 64.324,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59709,
    "c": 0.17427,
    "h": 290.2
  },
  "luminance": 0.19642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8167DE

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

Preview Lab → · Contrast checker → · Palette generator →

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