#8161C8#8161C8

#8161C8 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.3% C 0.154 H 295.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8161C8
RGBrgb(129, 97, 200)
HSLhsl(259, 48%, 58%)
HSVhsv(259, 52%, 78%)
CMYKcmyk(35.5%, 51.5%, 0%, 21.6%)
CIE-LABlab(48.74, 35.87, -49.31)
CIE-LCHlch(48.74, 60.98, 306.03°)
OKLaboklab(57.29% 0.0663 -0.1394)
OKLCHoklch(57.29% 0.154 295.4)
XYZxyz(23.7506, 17.3862, 56.7369)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161C8 #A8C861
analogous
#6174C8 #8161C8 #B461C8
triadic
#8161C8 #C88161 #61C881
tetradic
#8161C8 #C86174 #A8C861 #61C8B4
square
#8161C8 #C86174 #A8C861 #61C8B4
split-complementary
#8161C8 #C8B461 #74C861
monochromatic
#472D82 #603DAF #8161C8 #A58ED8 #C9BCE8

Accessibility & contrast

On white

4.69
#8161C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8161C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8161C8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161C8#FFFFFF#000000##FFFFFF
##8161C81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3975CC
Deuteranopia (green-blind)
#4072C6
Tritanopia (blue-blind)
#70758B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8161c8;
/* rgb */ color: rgb(129, 97, 200);
/* oklch */ color: oklch(57.3% 0.154 295.4);
Tailwind
colors: {
  custom: {
    50: '#a98ed9',
    500: '#8161c8',
    950: '#000000',
  },
}
SCSS
$custom: #8161c8;
$custom-light: #a98ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8161c8",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 200
  },
  "hsl": {
    "h": 258.641,
    "s": 48.357,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57291,
    "c": 0.15441,
    "h": 295.4
  },
  "luminance": 0.17387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8161C8

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

Preview Lab → · Contrast checker → · Palette generator →

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