#8167D7#8167D7

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

Color values

HEX#8167D7
RGBrgb(129, 103, 215)
HSLhsl(254, 58%, 62%)
HSVhsv(254, 52%, 84%)
CMYKcmyk(40%, 52.1%, 0%, 15.7%)
CIE-LABlab(51.01, 36.45, -54.26)
CIE-LCHlch(51.01, 65.37, 303.89°)
OKLaboklab(59.26% 0.0597 -0.1539)
OKLCHoklch(59.26% 0.165 291.2)
XYZxyz(26.1659, 19.2732, 66.6183)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167D7 #BDD767
analogous
#6785D7 #8167D7 #B967D7
triadic
#8167D7 #D78167 #67D781
tetradic
#8167D7 #D76785 #BDD767 #67D7B9
square
#8167D7 #D76785 #BDD767 #67D7B9
split-complementary
#8167D7 #D7B967 #85D767
monochromatic
#43299B #5937CA #8167D7 #A997E4 #D1C8F0

Accessibility & contrast

On white

4.33
#8167D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8167D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167D7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167D7#FFFFFF#000000##000000
##8167D71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#367BDB
Deuteranopia (green-blind)
#3A77D4
Tritanopia (blue-blind)
#6A7E95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8167d7;
/* rgb */ color: rgb(129, 103, 215);
/* oklch */ color: oklch(59.3% 0.165 291.2);
Tailwind
colors: {
  custom: {
    50: '#aa93e4',
    500: '#8167d7',
    950: '#000000',
  },
}
SCSS
$custom: #8167d7;
$custom-light: #aa93e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8167d7",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 215
  },
  "hsl": {
    "h": 253.929,
    "s": 58.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59259,
    "c": 0.16513,
    "h": 291.2
  },
  "luminance": 0.19274
}

Semantic roles & 50–950 ramp

primary
#8167D7
secondary
#D8E1B8
accent
#C6209F
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #8167D7

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

Preview Lab → · Contrast checker → · Palette generator →

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