#8162FB#8162FB

#8162FB is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 60.9% C 0.217 H 287.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8162FB
RGBrgb(129, 98, 251)
HSLhsl(252, 95%, 68%)
HSVhsv(252, 61%, 98%)
CMYKcmyk(48.6%, 61%, 0%, 1.6%)
CIE-LABlab(52.25, 49.36, -72.47)
CIE-LCHlch(52.25, 87.68, 304.26°)
OKLaboklab(60.92% 0.0651 -0.2075)
OKLCHoklch(60.92% 0.217 287.4)
XYZxyz(30.8284, 20.3661, 93.5548)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162FB #DCFB62
analogous
#628FFB #8162FB #CD62FB
triadic
#8162FB #FB8162 #62FB81
tetradic
#8162FB #FB628F #DCFB62 #62FBCD
square
#8162FB #FB628F #DCFB62 #62FBCD
split-complementary
#8162FB #FBCD62 #8FFB62
monochromatic
#3106DD #5126F9 #8162FB #B19EFD #E1D9FE

Accessibility & contrast

On white

4.14
#8162FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8162FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8162FB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162FB#FFFFFF#000000##000000
##8162FB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0078F8
Tritanopia (blue-blind)
#5686A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8162fb;
/* rgb */ color: rgb(129, 98, 251);
/* oklch */ color: oklch(60.9% 0.217 287.4);
Tailwind
colors: {
  custom: {
    50: '#ae90fe',
    500: '#8162fb',
    950: '#000000',
  },
}
SCSS
$custom: #8162fb;
$custom-light: #ae90fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8162fb",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 252.157,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.21746,
    "h": 287.4
  },
  "luminance": 0.20368
}

Semantic roles & 50–950 ramp

primary
#8162FB
secondary
#EAF3C5
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86

Preview Lab

Preview with #8162FB

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

Preview Lab → · Contrast checker → · Palette generator →

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