#8162DF#8162DF

#8162DF is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.9% C 0.183 H 291.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8162DF
RGBrgb(129, 98, 223)
HSLhsl(255, 66%, 63%)
HSVhsv(255, 56%, 87%)
CMYKcmyk(42.2%, 56.1%, 0%, 12.5%)
CIE-LABlab(50.37, 41.54, -59.82)
CIE-LCHlch(50.37, 72.82, 304.78°)
OKLaboklab(58.95% 0.066 -0.1703)
OKLCHoklch(58.95% 0.183 291.2)
XYZxyz(26.7366, 18.7294, 72.0042)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162DF #C0DF62
analogous
#6281DF #8162DF #BF62DF
triadic
#8162DF #DF8162 #62DF81
tetradic
#8162DF #DF6281 #C0DF62 #62DFBF
square
#8162DF #DF6281 #C0DF62 #62DFBF
split-complementary
#8162DF #DFBF62 #81DF62
monochromatic
#4222A5 #582FD5 #8162DF #AA95E9 #D3C8F4

Accessibility & contrast

On white

4.42
#8162DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8162DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8162DF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162DF#FFFFFF#000000##000000
##8162DF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7AE3
Deuteranopia (green-blind)
#2475DC
Tritanopia (blue-blind)
#677D97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8162df;
/* rgb */ color: rgb(129, 98, 223);
/* oklch */ color: oklch(58.9% 0.183 291.2);
Tailwind
colors: {
  custom: {
    50: '#ab8fea',
    500: '#8162df',
    950: '#000000',
  },
}
SCSS
$custom: #8162df;
$custom-light: #ab8fea;
$custom-dark: #000000;
JSON
{
  "hex": "#8162df",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 254.88,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58945,
    "c": 0.18261,
    "h": 291.2
  },
  "luminance": 0.1873
}

Semantic roles & 50–950 ramp

primary
#8162DF
secondary
#DAE5B8
accent
#CE17A1
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8162DF

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

Preview Lab → · Contrast checker → · Palette generator →

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