#8167F4#8167F4

#8167F4 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.2% C 0.202 H 287.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8167F4
RGBrgb(129, 103, 244)
HSLhsl(251, 87%, 68%)
HSVhsv(251, 58%, 96%)
CMYKcmyk(47.1%, 57.8%, 0%, 4.3%)
CIE-LABlab(52.84, 44.58, -67.62)
CIE-LCHlch(52.84, 80.99, 303.40°)
OKLaboklab(61.2% 0.0603 -0.1932)
OKLCHoklch(61.2% 0.202 287.3)
XYZxyz(30.2279, 20.8980, 88.0114)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167F4 #DAF467
analogous
#6793F4 #8167F4 #C867F4
triadic
#8167F4 #F48167 #67F481
tetradic
#8167F4 #F46793 #DAF467 #67F4C8
square
#8167F4 #F46793 #DAF467 #67F4C8
split-complementary
#8167F4 #F4C867 #93F467
monochromatic
#330FD1 #522EF0 #8167F4 #B0A0F8 #E0D9FC

Accessibility & contrast

On white

4.05
#8167F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8167F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167F4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167F4#FFFFFF#000000##000000
##8167F41.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F9
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#5B87A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8167f4;
/* rgb */ color: rgb(129, 103, 244);
/* oklch */ color: oklch(61.2% 0.202 287.3);
Tailwind
colors: {
  custom: {
    50: '#ad93f9',
    500: '#8167f4',
    950: '#000000',
  },
}
SCSS
$custom: #8167f4;
$custom-light: #ad93f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8167f4",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 244
  },
  "hsl": {
    "h": 251.064,
    "s": 86.503,
    "l": 68.039
  },
  "oklch": {
    "l": 0.612,
    "c": 0.20239,
    "h": 287.3
  },
  "luminance": 0.20899
}

Semantic roles & 50–950 ramp

primary
#8167F4
secondary
#E9F1C6
accent
#E302BA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8167F4

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

Preview Lab → · Contrast checker → · Palette generator →

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