#8167F1#8167F1

#8167F1 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.0% C 0.199 H 287.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8167F1
RGBrgb(129, 103, 241)
HSLhsl(251, 83%, 67%)
HSVhsv(251, 57%, 95%)
CMYKcmyk(46.5%, 57.3%, 0%, 5.5%)
CIE-LABlab(52.64, 43.73, -66.27)
CIE-LCHlch(52.64, 79.39, 303.42°)
OKLaboklab(60.99% 0.0603 -0.1892)
OKLCHoklch(60.99% 0.199 287.7)
XYZxyz(29.7761, 20.7172, 85.6319)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167F1 #D7F167
analogous
#6792F1 #8167F1 #C667F1
triadic
#8167F1 #F18167 #67F181
tetradic
#8167F1 #F16792 #D7F167 #67F1C6
square
#8167F1 #F16792 #D7F167 #67F1C6
split-complementary
#8167F1 #F1C667 #92F167
monochromatic
#3513CB #532FEC #8167F1 #AF9FF6 #DED7FB

Accessibility & contrast

On white

4.08
#8167F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8167F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167F1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167F1#FFFFFF#000000##000000
##8167F11.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F6
Deuteranopia (green-blind)
#007AEE
Tritanopia (blue-blind)
#5C86A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8167f1;
/* rgb */ color: rgb(129, 103, 241);
/* oklch */ color: oklch(61.0% 0.199 287.7);
Tailwind
colors: {
  custom: {
    50: '#ad93f6',
    500: '#8167f1',
    950: '#000000',
  },
}
SCSS
$custom: #8167f1;
$custom-light: #ad93f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8167f1",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 241
  },
  "hsl": {
    "h": 251.304,
    "s": 83.133,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.19861,
    "h": 287.7
  },
  "luminance": 0.20718
}

Semantic roles & 50–950 ramp

primary
#8167F1
secondary
#E7EFC4
accent
#E006B7
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8167F1

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

Preview Lab → · Contrast checker → · Palette generator →

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