#8167D8#8167D8

#8167D8 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.3% C 0.166 H 291.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8167D8
RGBrgb(129, 103, 216)
HSLhsl(254, 59%, 63%)
HSVhsv(254, 52%, 85%)
CMYKcmyk(40.3%, 52.3%, 0%, 15.3%)
CIE-LABlab(51.06, 36.72, -54.73)
CIE-LCHlch(51.06, 65.91, 303.86°)
OKLaboklab(59.32% 0.0598 -0.1553)
OKLCHoklch(59.32% 0.166 291.1)
XYZxyz(26.2948, 19.3247, 67.2971)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167D8 #BED867
analogous
#6786D8 #8167D8 #B967D8
triadic
#8167D8 #D88167 #67D881
tetradic
#8167D8 #D86786 #BED867 #67D8B9
square
#8167D8 #D86786 #BED867 #67D8B9
split-complementary
#8167D8 #D8B967 #86D867
monochromatic
#43289C #5936CC #8167D8 #A998E4 #D2C8F1

Accessibility & contrast

On white

4.32
#8167D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8167D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167D8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167D8#FFFFFF#000000##000000
##8167D81.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#357CDC
Deuteranopia (green-blind)
#3977D5
Tritanopia (blue-blind)
#697E96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8167d8;
/* rgb */ color: rgb(129, 103, 216);
/* oklch */ color: oklch(59.3% 0.166 291.1);
Tailwind
colors: {
  custom: {
    50: '#aa93e5',
    500: '#8167d8',
    950: '#000000',
  },
}
SCSS
$custom: #8167d8;
$custom-light: #aa93e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8167d8",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 216
  },
  "hsl": {
    "h": 253.805,
    "s": 59.162,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59322,
    "c": 0.16644,
    "h": 291.1
  },
  "luminance": 0.19325
}

Semantic roles & 50–950 ramp

primary
#8167D8
secondary
#D8E2B9
accent
#C71FA0
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #8167D8

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

Preview Lab → · Contrast checker → · Palette generator →

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