#8167DC#8167DC

#8167DC is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.6% C 0.172 H 290.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8167DC
RGBrgb(129, 103, 220)
HSLhsl(253, 63%, 63%)
HSVhsv(253, 53%, 86%)
CMYKcmyk(41.4%, 53.2%, 0%, 13.7%)
CIE-LABlab(51.31, 37.83, -56.61)
CIE-LCHlch(51.31, 68.09, 303.75°)
OKLaboklab(59.58% 0.06 -0.1608)
OKLCHoklch(59.58% 0.172 290.5)
XYZxyz(26.8182, 19.5341, 70.0537)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167DC #C2DC67
analogous
#6787DC #8167DC #BB67DC
triadic
#8167DC #DC8167 #67DC81
tetradic
#8167DC #DC6787 #C2DC67 #67DCBB
square
#8167DC #DC6787 #C2DC67 #67DCBB
split-complementary
#8167DC #DCBB67 #87DC67
monochromatic
#4126A3 #5835D1 #8167DC #AA99E7 #D3CAF3

Accessibility & contrast

On white

4.28
#8167DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8167DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167DC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167DC#FFFFFF#000000##000000
##8167DC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CE0
Deuteranopia (green-blind)
#3478D9
Tritanopia (blue-blind)
#688098
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8167dc;
/* rgb */ color: rgb(129, 103, 220);
/* oklch */ color: oklch(59.6% 0.172 290.5);
Tailwind
colors: {
  custom: {
    50: '#ab93e7',
    500: '#8167dc',
    950: '#000000',
  },
}
SCSS
$custom: #8167dc;
$custom-light: #ab93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8167dc",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 220
  },
  "hsl": {
    "h": 253.333,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59579,
    "c": 0.17168,
    "h": 290.5
  },
  "luminance": 0.19535
}

Semantic roles & 50–950 ramp

primary
#8167DC
secondary
#DBE4BB
accent
#CA1BA3
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #8167DC

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

Preview Lab → · Contrast checker → · Palette generator →

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