#8167C2#8167C2

#8167C2 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.0% C 0.137 H 294.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8167C2
RGBrgb(129, 103, 194)
HSLhsl(257, 43%, 58%)
HSVhsv(257, 47%, 76%)
CMYKcmyk(33.5%, 46.9%, 0%, 23.9%)
CIE-LABlab(49.81, 30.76, -44.16)
CIE-LCHlch(49.81, 53.82, 304.86°)
OKLaboklab(57.98% 0.0578 -0.1243)
OKLCHoklch(57.98% 0.137 294.9)
XYZxyz(23.6387, 18.2623, 53.3080)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167C2 #A8C267
analogous
#677AC2 #8167C2 #AE67C2
triadic
#8167C2 #C28167 #67C281
tetradic
#8167C2 #C2677A #A8C267 #67C2AE
square
#8167C2 #C2677A #A8C267 #67C2AE
split-complementary
#8167C2 #C2AE67 #7AC267
monochromatic
#47327D #6044A8 #8167C2 #A593D4 #C9BEE5

Accessibility & contrast

On white

4.51
#8167C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8167C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167C2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167C2#FFFFFF#000000##000000
##8167C21.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#4D75C0
Tritanopia (blue-blind)
#72788B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8167c2;
/* rgb */ color: rgb(129, 103, 194);
/* oklch */ color: oklch(58.0% 0.137 294.9);
Tailwind
colors: {
  custom: {
    50: '#a893d5',
    500: '#8167c2',
    950: '#000000',
  },
}
SCSS
$custom: #8167c2;
$custom-light: #a893d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8167c2",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 194
  },
  "hsl": {
    "h": 257.143,
    "s": 42.723,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57981,
    "c": 0.13713,
    "h": 294.9
  },
  "luminance": 0.18263
}

Semantic roles & 50–950 ramp

primary
#8167C2
secondary
#CAD5B0
accent
#D355AF
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #8167C2

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

Preview Lab → · Contrast checker → · Palette generator →

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