#8162F6#8162F6

#8162F6 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.6% C 0.211 H 288.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8162F6
RGBrgb(129, 98, 246)
HSLhsl(253, 89%, 67%)
HSVhsv(253, 60%, 96%)
CMYKcmyk(47.6%, 60.2%, 0%, 3.5%)
CIE-LABlab(51.90, 47.95, -70.25)
CIE-LCHlch(51.90, 85.06, 304.32°)
OKLaboklab(60.56% 0.0654 -0.201)
OKLCHoklch(60.56% 0.211 288)
XYZxyz(30.0507, 20.0550, 89.4585)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162F6 #D7F662
analogous
#628DF6 #8162F6 #CB62F6
triadic
#8162F6 #F68162 #62F681
tetradic
#8162F6 #F6628D #D7F662 #62F6CB
square
#8162F6 #F6628D #D7F662 #62F6CB
split-complementary
#8162F6 #F6CB62 #8DF662
monochromatic
#350CD2 #5328F3 #8162F6 #AF9CF9 #DED6FD

Accessibility & contrast

On white

4.19
#8162F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8162F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8162F6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162F6#FFFFFF#000000##000000
##8162F61.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#5A84A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8162f6;
/* rgb */ color: rgb(129, 98, 246);
/* oklch */ color: oklch(60.6% 0.211 288.0);
Tailwind
colors: {
  custom: {
    50: '#ae90fa',
    500: '#8162f6',
    950: '#000000',
  },
}
SCSS
$custom: #8162f6;
$custom-light: #ae90fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8162f6",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 252.568,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60555,
    "c": 0.21135,
    "h": 288
  },
  "luminance": 0.20056
}

Semantic roles & 50–950 ramp

primary
#8162F6
secondary
#E7F1C3
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #8162F6

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

Preview Lab → · Contrast checker → · Palette generator →

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