#8167DF#8167DF

#8167DF is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.8% C 0.176 H 290.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8167DF
RGBrgb(129, 103, 223)
HSLhsl(253, 65%, 64%)
HSVhsv(253, 54%, 87%)
CMYKcmyk(42.2%, 53.8%, 0%, 12.5%)
CIE-LABlab(51.49, 38.67, -58.01)
CIE-LCHlch(51.49, 69.72, 303.68°)
OKLaboklab(59.77% 0.0601 -0.165)
OKLCHoklch(59.77% 0.176 290)
XYZxyz(27.2191, 19.6944, 72.1650)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167DF #C5DF67
analogous
#6789DF #8167DF #BD67DF
triadic
#8167DF #DF8167 #67DF81
tetradic
#8167DF #DF6789 #C5DF67 #67DFBD
square
#8167DF #DF6789 #C5DF67 #67DFBD
split-complementary
#8167DF #DFBD67 #89DF67
monochromatic
#4023A8 #5734D4 #8167DF #AB9AEA #D5CCF4

Accessibility & contrast

On white

4.25
#8167DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8167DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167DF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167DF#FFFFFF#000000##000000
##8167DF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7DE3
Deuteranopia (green-blind)
#3078DC
Tritanopia (blue-blind)
#668199
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8167df;
/* rgb */ color: rgb(129, 103, 223);
/* oklch */ color: oklch(59.8% 0.176 290.0);
Tailwind
colors: {
  custom: {
    50: '#ab93ea',
    500: '#8167df',
    950: '#000000',
  },
}
SCSS
$custom: #8167df;
$custom-light: #ab93ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8167df",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 223
  },
  "hsl": {
    "h": 253,
    "s": 65.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59774,
    "c": 0.17557,
    "h": 290
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#8167DF
secondary
#DDE6BC
accent
#CD18A6
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #8167DF

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

Preview Lab → · Contrast checker → · Palette generator →

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