#8161CF#8161CF

#8161CF is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.7% C 0.164 H 294.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8161CF
RGBrgb(129, 97, 207)
HSLhsl(257, 53%, 60%)
HSVhsv(257, 53%, 81%)
CMYKcmyk(37.7%, 53.1%, 0%, 18.8%)
CIE-LABlab(49.16, 37.74, -52.67)
CIE-LCHlch(49.16, 64.79, 305.63°)
OKLaboklab(57.73% 0.0668 -0.1493)
OKLCHoklch(57.73% 0.164 294.1)
XYZxyz(24.5875, 17.7210, 61.1444)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161CF #AFCF61
analogous
#6178CF #8161CF #B861CF
triadic
#8161CF #CF8161 #61CF81
tetradic
#8161CF #CF6178 #AFCF61 #61CFB8
square
#8161CF #CF6178 #AFCF61 #61CFB8
split-complementary
#8161CF #CFB861 #78CF61
monochromatic
#472A8B #5E39BA #8161CF #A690DD #CCBFEC

Accessibility & contrast

On white

4.62
#8161CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8161CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8161CF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161CF#FFFFFF#000000##FFFFFF
##8161CF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3276D3
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#6E788F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8161cf;
/* rgb */ color: rgb(129, 97, 207);
/* oklch */ color: oklch(57.7% 0.164 294.1);
Tailwind
colors: {
  custom: {
    50: '#aa8fde',
    500: '#8161cf',
    950: '#000000',
  },
}
SCSS
$custom: #8161cf;
$custom-light: #aa8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8161cf",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 207
  },
  "hsl": {
    "h": 257.455,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.16351,
    "h": 294.1
  },
  "luminance": 0.17722
}

Semantic roles & 50–950 ramp

primary
#8161CF
secondary
#CFDBB1
accent
#DD4BB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8161CF

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

Preview Lab → · Contrast checker → · Palette generator →

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