#8162C8#8162C8

#8162C8 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.5% C 0.153 H 295.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8162C8
RGBrgb(129, 98, 200)
HSLhsl(258, 48%, 58%)
HSVhsv(258, 51%, 78%)
CMYKcmyk(35.5%, 51%, 0%, 21.6%)
CIE-LABlab(48.97, 35.29, -48.95)
CIE-LCHlch(48.97, 60.34, 305.79°)
OKLaboklab(57.46% 0.065 -0.1384)
OKLCHoklch(57.46% 0.153 295.2)
XYZxyz(23.8436, 17.5722, 56.7679)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162C8 #A9C862
analogous
#6276C8 #8162C8 #B462C8
triadic
#8162C8 #C88162 #62C881
tetradic
#8162C8 #C86276 #A9C862 #62C8B4
square
#8162C8 #C86276 #A9C862 #62C8B4
split-complementary
#8162C8 #C8B462 #76C862
monochromatic
#472E82 #603DAF #8162C8 #A58FD8 #CABDE8

Accessibility & contrast

On white

4.65
#8162C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8162C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8162C8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162C8#FFFFFF#000000##FFFFFF
##8162C81.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CC
Deuteranopia (green-blind)
#4273C6
Tritanopia (blue-blind)
#70768C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8162c8;
/* rgb */ color: rgb(129, 98, 200);
/* oklch */ color: oklch(57.5% 0.153 295.2);
Tailwind
colors: {
  custom: {
    50: '#a98fd9',
    500: '#8162c8',
    950: '#000000',
  },
}
SCSS
$custom: #8162c8;
$custom-light: #a98fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8162c8",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 258.235,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57462,
    "c": 0.15288,
    "h": 295.2
  },
  "luminance": 0.17573
}

Semantic roles & 50–950 ramp

primary
#8162C8
secondary
#CBD7AF
accent
#D850AE
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8162C8

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

Preview Lab → · Contrast checker → · Palette generator →

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