#8162DA#8162DA

#8162DA is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.6% C 0.176 H 292.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8162DA
RGBrgb(129, 98, 218)
HSLhsl(256, 62%, 62%)
HSVhsv(256, 55%, 85%)
CMYKcmyk(40.8%, 55%, 0%, 14.5%)
CIE-LABlab(50.05, 40.16, -57.49)
CIE-LCHlch(50.05, 70.13, 304.94°)
OKLaboklab(58.61% 0.0659 -0.1634)
OKLCHoklch(58.61% 0.176 292)
XYZxyz(26.0724, 18.4637, 68.5062)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162DA #BBDA62
analogous
#627FDA #8162DA #BD62DA
triadic
#8162DA #DA8162 #62DA81
tetradic
#8162DA #DA627F #BBDA62 #62DABD
square
#8162DA #DA627F #BBDA62 #62DABD
split-complementary
#8162DA #DABD62 #7FDA62
monochromatic
#44259D #5931CE #8162DA #A994E6 #D0C5F1

Accessibility & contrast

On white

4.47
#8162DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8162DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8162DA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162DA#FFFFFF#000000##000000
##8162DA1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2579DE
Deuteranopia (green-blind)
#2D75D7
Tritanopia (blue-blind)
#697C95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8162da;
/* rgb */ color: rgb(129, 98, 218);
/* oklch */ color: oklch(58.6% 0.176 292.0);
Tailwind
colors: {
  custom: {
    50: '#ab8fe6',
    500: '#8162da',
    950: '#000000',
  },
}
SCSS
$custom: #8162da;
$custom-light: #ab8fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#8162da",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 255.5,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58612,
    "c": 0.17623,
    "h": 292
  },
  "luminance": 0.18464
}

Semantic roles & 50–950 ramp

primary
#8162DA
secondary
#D7E2B6
accent
#CA1C9D
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #8162DA

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

Preview Lab → · Contrast checker → · Palette generator →

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