#8162DE#8162DE

#8162DE is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.9% C 0.181 H 291.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8162DE
RGBrgb(129, 98, 222)
HSLhsl(255, 65%, 63%)
HSVhsv(255, 56%, 87%)
CMYKcmyk(41.9%, 55.9%, 0%, 12.9%)
CIE-LABlab(50.31, 41.26, -59.35)
CIE-LCHlch(50.31, 72.29, 304.81°)
OKLaboklab(58.88% 0.066 -0.1689)
OKLCHoklch(58.88% 0.181 291.3)
XYZxyz(26.6021, 18.6756, 71.2962)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162DE #BFDE62
analogous
#6281DE #8162DE #BF62DE
triadic
#8162DE #DE8162 #62DE81
tetradic
#8162DE #DE6281 #BFDE62 #62DEBF
square
#8162DE #DE6281 #BFDE62 #62DEBF
split-complementary
#8162DE #DEBF62 #81DE62
monochromatic
#4322A3 #582FD3 #8162DE #AA95E9 #D2C7F3

Accessibility & contrast

On white

4.43
#8162DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8162DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8162DE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162DE#FFFFFF#000000##000000
##8162DE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7AE2
Deuteranopia (green-blind)
#2675DB
Tritanopia (blue-blind)
#677D97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8162de;
/* rgb */ color: rgb(129, 98, 222);
/* oklch */ color: oklch(58.9% 0.181 291.3);
Tailwind
colors: {
  custom: {
    50: '#ab8fe9',
    500: '#8162de',
    950: '#000000',
  },
}
SCSS
$custom: #8162de;
$custom-light: #ab8fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#8162de",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 255,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58878,
    "c": 0.18134,
    "h": 291.3
  },
  "luminance": 0.18676
}

Semantic roles & 50–950 ramp

primary
#8162DE
secondary
#D9E4B7
accent
#CD18A0
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8162DE

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

Preview Lab → · Contrast checker → · Palette generator →

#8162DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva