#8161CB#8161CB

#8161CB is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.5% C 0.158 H 294.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8161CB
RGBrgb(129, 97, 203)
HSLhsl(258, 50%, 59%)
HSVhsv(258, 52%, 80%)
CMYKcmyk(36.5%, 52.2%, 0%, 20.4%)
CIE-LABlab(48.92, 36.67, -50.76)
CIE-LCHlch(48.92, 62.62, 305.85°)
OKLaboklab(57.48% 0.0665 -0.1437)
OKLCHoklch(57.48% 0.158 294.8)
XYZxyz(24.1047, 17.5278, 58.6016)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161CB #ABCB61
analogous
#6176CB #8161CB #B661CB
triadic
#8161CB #CB8161 #61CB81
tetradic
#8161CB #CB6176 #ABCB61 #61CBB6
square
#8161CB #CB6176 #ABCB61 #61CBB6
split-complementary
#8161CB #CBB661 #76CB61
monochromatic
#472C86 #603BB4 #8161CB #A68FDA #CABDE9

Accessibility & contrast

On white

4.66
#8161CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8161CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8161CB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161CB#FFFFFF#000000##FFFFFF
##8161CB1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3675CF
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#6F768D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8161cb;
/* rgb */ color: rgb(129, 97, 203);
/* oklch */ color: oklch(57.5% 0.158 294.8);
Tailwind
colors: {
  custom: {
    50: '#a98fdb',
    500: '#8161cb',
    950: '#000000',
  },
}
SCSS
$custom: #8161cb;
$custom-light: #a98fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8161cb",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 203
  },
  "hsl": {
    "h": 258.113,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57478,
    "c": 0.15833,
    "h": 294.8
  },
  "luminance": 0.17528
}

Semantic roles & 50–950 ramp

primary
#8161CB
secondary
#CCD9AF
accent
#DA4EB0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8161CB

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

Preview Lab → · Contrast checker → · Palette generator →

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