#8162BF#8162BF

#8162BF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 56.9% C 0.141 H 297.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8162BF
RGBrgb(129, 98, 191)
HSLhsl(260, 42%, 57%)
HSVhsv(260, 49%, 75%)
CMYKcmyk(32.5%, 48.7%, 0%, 25.1%)
CIE-LABlab(48.47, 32.91, -44.57)
CIE-LCHlch(48.47, 55.40, 306.44°)
OKLaboklab(56.92% 0.0642 -0.1255)
OKLCHoklch(56.92% 0.141 297.1)
XYZxyz(22.8226, 17.1638, 51.3906)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8162BF #A0BF62
analogous
#6272BF #8162BF #B062BF
triadic
#8162BF #BF8162 #62BF81
tetradic
#8162BF #BF6272 #A0BF62 #62BFB0
square
#8162BF #BF6272 #A0BF62 #62BFB0
split-complementary
#8162BF #BFB062 #72BF62
monochromatic
#483076 #6242A2 #8162BF #A48DD1 #C7B9E2

Accessibility & contrast

On white

4.74
#8162BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8162BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8162BF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8162BF#FFFFFF#000000##FFFFFF
##8162BF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#747487
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8162bf;
/* rgb */ color: rgb(129, 98, 191);
/* oklch */ color: oklch(56.9% 0.141 297.1);
Tailwind
colors: {
  custom: {
    50: '#a88fd3',
    500: '#8162bf',
    950: '#000000',
  },
}
SCSS
$custom: #8162bf;
$custom-light: #a88fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8162bf",
  "rgb": {
    "r": 129,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 260,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56919,
    "c": 0.14101,
    "h": 297.1
  },
  "luminance": 0.17164
}

Semantic roles & 50–950 ramp

primary
#8162BF
secondary
#C5D1AB
accent
#D256A9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #8162BF

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

Preview Lab → · Contrast checker → · Palette generator →

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