#8162E8#8162E8

#8162E8 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.6% C 0.194 H 289.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8162E8
RGBrgb(129, 98, 232)
HSLhsl(254, 74%, 65%)
HSVhsv(254, 58%, 91%)
CMYKcmyk(44.4%, 57.8%, 0%, 9%)
CIE-LABlab(50.95, 44.03, -63.95)
CIE-LCHlch(50.95, 77.64, 304.55°)
OKLaboklab(59.56% 0.0659 -0.1824)
OKLCHoklch(59.56% 0.194 289.9)
XYZxyz(27.9823, 19.2277, 78.5652)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162E8 #C9E862
analogous
#6286E8 #8162E8 #C462E8
triadic
#8162E8 #E88162 #62E881
tetradic
#8162E8 #E86286 #C9E862 #62E8C4
square
#8162E8 #E86286 #C9E862 #62E8C4
split-complementary
#8162E8 #E8C462 #86E862
monochromatic
#3E1BB5 #562DE0 #8162E8 #AC97F0 #D7CDF8

Accessibility & contrast

On white

4.33
#8162E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8162E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8162E8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162E8#FFFFFF#000000##000000
##8162E81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#0676E5
Tritanopia (blue-blind)
#62809C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8162e8;
/* rgb */ color: rgb(129, 98, 232);
/* oklch */ color: oklch(59.6% 0.194 289.9);
Tailwind
colors: {
  custom: {
    50: '#ac90f0',
    500: '#8162e8',
    950: '#000000',
  },
}
SCSS
$custom: #8162e8;
$custom-light: #ac90f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8162e8",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 253.881,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59561,
    "c": 0.19398,
    "h": 289.9
  },
  "luminance": 0.19229
}

Semantic roles & 50–950 ramp

primary
#8162E8
secondary
#DFEABC
accent
#D70FA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8162E8

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

Preview Lab → · Contrast checker → · Palette generator →

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