#8162FD#8162FD

#8162FD is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.1% C 0.220 H 287.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8162FD
RGBrgb(129, 98, 253)
HSLhsl(252, 97%, 69%)
HSVhsv(252, 61%, 99%)
CMYKcmyk(49%, 61.3%, 0%, 0.8%)
CIE-LABlab(52.39, 49.93, -73.35)
CIE-LCHlch(52.39, 88.73, 304.24°)
OKLaboklab(61.07% 0.065 -0.2101)
OKLCHoklch(61.07% 0.22 287.2)
XYZxyz(31.1454, 20.4929, 95.2239)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162FD #DEFD62
analogous
#6291FD #8162FD #CF62FD
triadic
#8162FD #FD8162 #62FD81
tetradic
#8162FD #FD6291 #DEFD62 #62FDCF
square
#8162FD #FD6291 #DEFD62 #62FDCF
split-complementary
#8162FD #FDCF62 #91FD62
monochromatic
#2F03E2 #5126FC #8162FD #B29EFE #E2DBFF

Accessibility & contrast

On white

4.12
#8162FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8162FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8162FD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162FD#FFFFFF#000000##000000
##8162FD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0079FA
Tritanopia (blue-blind)
#5587A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8162fd;
/* rgb */ color: rgb(129, 98, 253);
/* oklch */ color: oklch(61.1% 0.220 287.2);
Tailwind
colors: {
  custom: {
    50: '#ae90ff',
    500: '#8162fd',
    950: '#000000',
  },
}
SCSS
$custom: #8162fd;
$custom-light: #ae90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8162fd",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 252,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61068,
    "c": 0.21989,
    "h": 287.2
  },
  "luminance": 0.20494
}

Semantic roles & 50–950 ramp

primary
#8162FD
secondary
#EBF4C6
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86

Preview Lab

Preview with #8162FD

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

Preview Lab → · Contrast checker → · Palette generator →

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