#8162E7#8162E7

#8162E7 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.5% C 0.193 H 290.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8162E7
RGBrgb(129, 98, 231)
HSLhsl(254, 73%, 65%)
HSVhsv(254, 58%, 91%)
CMYKcmyk(44.2%, 57.6%, 0%, 9.4%)
CIE-LABlab(50.89, 43.76, -63.49)
CIE-LCHlch(50.89, 77.11, 304.57°)
OKLaboklab(59.49% 0.066 -0.1811)
OKLCHoklch(59.49% 0.193 290)
XYZxyz(27.8407, 19.1710, 77.8193)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162E7 #C8E762
analogous
#6286E7 #8162E7 #C462E7
triadic
#8162E7 #E78162 #62E781
tetradic
#8162E7 #E76286 #C8E762 #62E7C4
square
#8162E7 #E76286 #C8E762 #62E7C4
split-complementary
#8162E7 #E7C462 #86E762
monochromatic
#3F1BB3 #562DDF #8162E7 #AC97EF #D6CCF7

Accessibility & contrast

On white

4.34
#8162E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8162E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8162E7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162E7#FFFFFF#000000##000000
##8162E71.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#0C76E4
Tritanopia (blue-blind)
#62809B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8162e7;
/* rgb */ color: rgb(129, 98, 231);
/* oklch */ color: oklch(59.5% 0.193 290.0);
Tailwind
colors: {
  custom: {
    50: '#ac90ef',
    500: '#8162e7',
    950: '#000000',
  },
}
SCSS
$custom: #8162e7;
$custom-light: #ac90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8162e7",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 253.985,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59492,
    "c": 0.19273,
    "h": 290
  },
  "luminance": 0.19172
}

Semantic roles & 50–950 ramp

primary
#8162E7
secondary
#DFE9BB
accent
#D610A8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8162E7

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

Preview Lab → · Contrast checker → · Palette generator →

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