#8162F7#8162F7

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

Color values

HEX#8162F7
RGBrgb(129, 98, 247)
HSLhsl(252, 90%, 68%)
HSVhsv(252, 60%, 97%)
CMYKcmyk(47.8%, 60.3%, 0%, 3.1%)
CIE-LABlab(51.97, 48.24, -70.70)
CIE-LCHlch(51.97, 85.58, 304.31°)
OKLaboklab(60.63% 0.0654 -0.2023)
OKLCHoklch(60.63% 0.213 287.9)
XYZxyz(30.2046, 20.1166, 90.2690)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162F7 #D8F762
analogous
#628EF7 #8162F7 #CB62F7
triadic
#8162F7 #F78162 #62F781
tetradic
#8162F7 #F7628E #D8F762 #62F7CB
square
#8162F7 #F7628E #D8F762 #62F7CB
split-complementary
#8162F7 #F7CB62 #8EF762
monochromatic
#350BD4 #5228F4 #8162F7 #B09CFA #DED6FD

Accessibility & contrast

On white

4.18
#8162F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8162F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8162F7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162F7#FFFFFF#000000##000000
##8162F71.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFC
Deuteranopia (green-blind)
#0078F4
Tritanopia (blue-blind)
#5985A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8162f7;
/* rgb */ color: rgb(129, 98, 247);
/* oklch */ color: oklch(60.6% 0.213 287.9);
Tailwind
colors: {
  custom: {
    50: '#ae90fb',
    500: '#8162f7',
    950: '#000000',
  },
}
SCSS
$custom: #8162f7;
$custom-light: #ae90fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8162f7",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 252.483,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60628,
    "c": 0.21257,
    "h": 287.9
  },
  "luminance": 0.20118
}

Semantic roles & 50–950 ramp

primary
#8162F7
secondary
#E8F2C3
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #8162F7

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

Preview Lab → · Contrast checker → · Palette generator →

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