#8162F4#8162F4

#8162F4 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.4% C 0.209 H 288.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8162F4
RGBrgb(129, 98, 244)
HSLhsl(253, 87%, 67%)
HSVhsv(253, 60%, 96%)
CMYKcmyk(47.1%, 59.8%, 0%, 4.3%)
CIE-LABlab(51.76, 47.39, -69.36)
CIE-LCHlch(51.76, 84.01, 304.34°)
OKLaboklab(60.41% 0.0655 -0.1983)
OKLCHoklch(60.41% 0.209 288.3)
XYZxyz(29.7454, 19.9329, 87.8505)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162F4 #D5F462
analogous
#628CF4 #8162F4 #CA62F4
triadic
#8162F4 #F48162 #62F481
tetradic
#8162F4 #F4628C #D5F462 #62F4CA
square
#8162F4 #F4628C #D5F462 #62F4CA
split-complementary
#8162F4 #F4CA62 #8CF462
monochromatic
#370ECD #5329F0 #8162F4 #AF9BF8 #DDD4FC

Accessibility & contrast

On white

4.21
#8162F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8162F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8162F4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162F4#FFFFFF#000000##000000
##8162F41.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF9
Deuteranopia (green-blind)
#0078F1
Tritanopia (blue-blind)
#5B84A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8162f4;
/* rgb */ color: rgb(129, 98, 244);
/* oklch */ color: oklch(60.4% 0.209 288.3);
Tailwind
colors: {
  custom: {
    50: '#ad90f9',
    500: '#8162f4',
    950: '#000000',
  },
}
SCSS
$custom: #8162f4;
$custom-light: #ad90f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8162f4",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 252.74,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6041,
    "c": 0.20888,
    "h": 288.3
  },
  "luminance": 0.19934
}

Semantic roles & 50–950 ramp

primary
#8162F4
secondary
#E6F0C2
accent
#E302B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8162F4

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

Preview Lab → · Contrast checker → · Palette generator →

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