#8161DF#8161DF

#8161DF is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.184 H 291.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8161DF
RGBrgb(129, 97, 223)
HSLhsl(255, 66%, 63%)
HSVhsv(255, 57%, 87%)
CMYKcmyk(42.2%, 56.5%, 0%, 12.5%)
CIE-LABlab(50.15, 42.11, -60.17)
CIE-LCHlch(50.15, 73.44, 304.98°)
OKLaboklab(58.78% 0.0672 -0.1713)
OKLCHoklch(58.78% 0.184 291.4)
XYZxyz(26.6436, 18.5434, 71.9732)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161DF #BFDF61
analogous
#6180DF #8161DF #C061DF
triadic
#8161DF #DF8161 #61DF81
tetradic
#8161DF #DF6180 #BFDF61 #61DFC0
square
#8161DF #DF6180 #BFDF61 #61DFC0
split-complementary
#8161DF #DFC061 #80DF61
monochromatic
#4321A4 #582ED5 #8161DF #AA94E9 #D2C7F4

Accessibility & contrast

On white

4.46
#8161DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8161DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161DF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161DF#FFFFFF#000000##000000
##8161DF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1679E3
Deuteranopia (green-blind)
#2175DC
Tritanopia (blue-blind)
#677C97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8161df;
/* rgb */ color: rgb(129, 97, 223);
/* oklch */ color: oklch(58.8% 0.184 291.4);
Tailwind
colors: {
  custom: {
    50: '#ab8fea',
    500: '#8161df',
    950: '#000000',
  },
}
SCSS
$custom: #8161df;
$custom-light: #ab8fea;
$custom-dark: #000000;
JSON
{
  "hex": "#8161df",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 255.238,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58783,
    "c": 0.18401,
    "h": 291.4
  },
  "luminance": 0.18544
}

Semantic roles & 50–950 ramp

primary
#8161DF
secondary
#D9E5B7
accent
#CE17A0
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8161DF

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

Preview Lab → · Contrast checker → · Palette generator →

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