#8162EE#8162EE

#8162EE is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.0% C 0.201 H 289.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8162EE
RGBrgb(129, 98, 238)
HSLhsl(253, 80%, 66%)
HSVhsv(253, 59%, 93%)
CMYKcmyk(45.8%, 58.8%, 0%, 6.7%)
CIE-LABlab(51.35, 45.71, -66.67)
CIE-LCHlch(51.35, 80.83, 304.44°)
OKLaboklab(59.98% 0.0658 -0.1904)
OKLCHoklch(59.98% 0.201 289.1)
XYZxyz(28.8492, 19.5744, 83.1305)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162EE #CFEE62
analogous
#6289EE #8162EE #C762EE
triadic
#8162EE #EE8162 #62EE81
tetradic
#8162EE #EE6289 #CFEE62 #62EEC7
square
#8162EE #EE6289 #CFEE62 #62EEC7
split-complementary
#8162EE #EEC762 #89EE62
monochromatic
#3B15C1 #552BE8 #8162EE #AD99F4 #DAD0FA

Accessibility & contrast

On white

4.27
#8162EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8162EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8162EE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162EE#FFFFFF#000000##000000
##8162EE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#5F829F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8162ee;
/* rgb */ color: rgb(129, 98, 238);
/* oklch */ color: oklch(60.0% 0.201 289.1);
Tailwind
colors: {
  custom: {
    50: '#ad90f4',
    500: '#8162ee',
    950: '#000000',
  },
}
SCSS
$custom: #8162ee;
$custom-light: #ad90f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8162ee",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 253.286,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59982,
    "c": 0.20147,
    "h": 289.1
  },
  "luminance": 0.19576
}

Semantic roles & 50–950 ramp

primary
#8162EE
secondary
#E3EDBF
accent
#DD09AE
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #8162EE

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

Preview Lab → · Contrast checker → · Palette generator →

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