#8162F5#8162F5

#8162F5 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.5% C 0.210 H 288.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8162F5
RGBrgb(129, 98, 245)
HSLhsl(253, 88%, 67%)
HSVhsv(253, 60%, 96%)
CMYKcmyk(47.3%, 60%, 0%, 3.9%)
CIE-LABlab(51.83, 47.67, -69.81)
CIE-LCHlch(51.83, 84.53, 304.33°)
OKLaboklab(60.48% 0.0655 -0.1997)
OKLCHoklch(60.48% 0.21 288.2)
XYZxyz(29.8976, 19.9938, 88.6524)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162F5 #D6F562
analogous
#628DF5 #8162F5 #CB62F5
triadic
#8162F5 #F58162 #62F581
tetradic
#8162F5 #F5628D #D6F562 #62F5CB
square
#8162F5 #F5628D #D6F562 #62F5CB
split-complementary
#8162F5 #F5CB62 #8DF562
monochromatic
#360DCF #5328F1 #8162F5 #AF9CF9 #DDD5FC

Accessibility & contrast

On white

4.20
#8162F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8162F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8162F5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162F5#FFFFFF#000000##000000
##8162F51.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#5A84A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8162f5;
/* rgb */ color: rgb(129, 98, 245);
/* oklch */ color: oklch(60.5% 0.210 288.2);
Tailwind
colors: {
  custom: {
    50: '#ad90f9',
    500: '#8162f5',
    950: '#000000',
  },
}
SCSS
$custom: #8162f5;
$custom-light: #ad90f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8162f5",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 252.653,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60483,
    "c": 0.21012,
    "h": 288.2
  },
  "luminance": 0.19995
}

Semantic roles & 50–950 ramp

primary
#8162F5
secondary
#E7F1C2
accent
#E501B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #8162F5

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

Preview Lab → · Contrast checker → · Palette generator →

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