#8162F0#8162F0

#8162F0 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.1% C 0.204 H 288.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8162F0
RGBrgb(129, 98, 240)
HSLhsl(253, 83%, 66%)
HSVhsv(253, 59%, 94%)
CMYKcmyk(46.3%, 59.2%, 0%, 5.9%)
CIE-LABlab(51.49, 46.27, -67.57)
CIE-LCHlch(51.49, 81.89, 304.40°)
OKLaboklab(60.12% 0.0657 -0.1931)
OKLCHoklch(60.12% 0.204 288.8)
XYZxyz(29.1446, 19.6926, 84.6866)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162F0 #D1F062
analogous
#628AF0 #8162F0 #C862F0
triadic
#8162F0 #F08162 #62F081
tetradic
#8162F0 #F0628A #D1F062 #62F0C8
square
#8162F0 #F0628A #D1F062 #62F0C8
split-complementary
#8162F0 #F0C862 #8AF062
monochromatic
#3A13C5 #542AEB #8162F0 #AE9AF5 #DBD2FB

Accessibility & contrast

On white

4.25
#8162F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8162F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8162F0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162F0#FFFFFF#000000##000000
##8162F01.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#5D82A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8162f0;
/* rgb */ color: rgb(129, 98, 240);
/* oklch */ color: oklch(60.1% 0.204 288.8);
Tailwind
colors: {
  custom: {
    50: '#ad90f6',
    500: '#8162f0',
    950: '#000000',
  },
}
SCSS
$custom: #8162f0;
$custom-light: #ad90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8162f0",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 253.099,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60124,
    "c": 0.20395,
    "h": 288.8
  },
  "luminance": 0.19694
}

Semantic roles & 50–950 ramp

primary
#8162F0
secondary
#E4EEC0
accent
#DF07B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8162F0

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

Preview Lab → · Contrast checker → · Palette generator →

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