#8167F2#8167F2

#8167F2 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.1% C 0.200 H 287.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8167F2
RGBrgb(129, 103, 242)
HSLhsl(251, 84%, 68%)
HSVhsv(251, 57%, 95%)
CMYKcmyk(46.7%, 57.4%, 0%, 5.1%)
CIE-LABlab(52.70, 44.01, -66.72)
CIE-LCHlch(52.70, 79.93, 303.41°)
OKLaboklab(61.06% 0.0603 -0.1906)
OKLCHoklch(61.06% 0.2 287.6)
XYZxyz(29.9259, 20.7772, 86.4208)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167F2 #D8F267
analogous
#6792F2 #8167F2 #C667F2
triadic
#8167F2 #F28167 #67F281
tetradic
#8167F2 #F26792 #D8F267 #67F2C6
square
#8167F2 #F26792 #D8F267 #67F2C6
split-complementary
#8167F2 #F2C667 #92F267
monochromatic
#3512CD #522FED #8167F2 #B09FF7 #DED8FC

Accessibility & contrast

On white

4.07
#8167F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8167F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167F2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167F2#FFFFFF#000000##000000
##8167F21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#5C86A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8167f2;
/* rgb */ color: rgb(129, 103, 242);
/* oklch */ color: oklch(61.1% 0.200 287.6);
Tailwind
colors: {
  custom: {
    50: '#ad93f7',
    500: '#8167f2',
    950: '#000000',
  },
}
SCSS
$custom: #8167f2;
$custom-light: #ad93f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8167f2",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 251.223,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6106,
    "c": 0.19987,
    "h": 287.6
  },
  "luminance": 0.20778
}

Semantic roles & 50–950 ramp

primary
#8167F2
secondary
#E8F0C5
accent
#E105B8
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8167F2

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

Preview Lab → · Contrast checker → · Palette generator →

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