#8167D4#8167D4

#8167D4 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.1% C 0.161 H 291.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8167D4
RGBrgb(129, 103, 212)
HSLhsl(254, 56%, 62%)
HSVhsv(254, 51%, 83%)
CMYKcmyk(39.2%, 51.4%, 0%, 16.9%)
CIE-LABlab(50.83, 35.62, -52.84)
CIE-LCHlch(50.83, 63.73, 303.99°)
OKLaboklab(59.07% 0.0596 -0.1498)
OKLCHoklch(59.07% 0.161 291.7)
XYZxyz(25.7840, 19.1204, 64.6067)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167D4 #BAD467
analogous
#6784D4 #8167D4 #B867D4
triadic
#8167D4 #D48167 #67D481
tetradic
#8167D4 #D46784 #BAD467 #67D4B8
square
#8167D4 #D46784 #BAD467 #67D4B8
split-complementary
#8167D4 #D4B867 #84D467
monochromatic
#442A96 #5A38C6 #8167D4 #A997E1 #D0C6EF

Accessibility & contrast

On white

4.35
#8167D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8167D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167D4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167D4#FFFFFF#000000##000000
##8167D41.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#397BD8
Deuteranopia (green-blind)
#3D77D2
Tritanopia (blue-blind)
#6B7D94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8167d4;
/* rgb */ color: rgb(129, 103, 212);
/* oklch */ color: oklch(59.1% 0.161 291.7);
Tailwind
colors: {
  custom: {
    50: '#aa93e2',
    500: '#8167d4',
    950: '#000000',
  },
}
SCSS
$custom: #8167d4;
$custom-light: #aa93e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8167d4",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 212
  },
  "hsl": {
    "h": 254.312,
    "s": 55.897,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59069,
    "c": 0.16118,
    "h": 291.7
  },
  "luminance": 0.19121
}

Semantic roles & 50–950 ramp

primary
#8167D4
secondary
#D6E0B7
accent
#C3229D
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8167D4

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

Preview Lab → · Contrast checker → · Palette generator →

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