#8160DF#8160DF

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

Color values

HEX#8160DF
RGBrgb(129, 96, 223)
HSLhsl(256, 66%, 63%)
HSVhsv(256, 57%, 87%)
CMYKcmyk(42.2%, 57%, 0%, 12.5%)
CIE-LABlab(49.93, 42.68, -60.52)
CIE-LCHlch(49.93, 74.06, 305.19°)
OKLaboklab(58.62% 0.0683 -0.1724)
OKLCHoklch(58.62% 0.185 291.6)
XYZxyz(26.5518, 18.3598, 71.9426)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8160DF #BEDF60
analogous
#607EDF #8160DF #C160DF
triadic
#8160DF #DF8160 #60DF81
tetradic
#8160DF #DF607E #BEDF60 #60DFC1
square
#8160DF #DF607E #BEDF60 #60DFC1
split-complementary
#8160DF #DFC160 #7EDF60
monochromatic
#4321A4 #592DD5 #8160DF #A993E9 #D2C6F4

Accessibility & contrast

On white

4.49
#8160DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#8160DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8160DF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8160DF#FFFFFF#000000##000000
##8160DF1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1079E3
Deuteranopia (green-blind)
#1E74DC
Tritanopia (blue-blind)
#677C96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8160df;
/* rgb */ color: rgb(129, 96, 223);
/* oklch */ color: oklch(58.6% 0.185 291.6);
Tailwind
colors: {
  custom: {
    50: '#ab8eea',
    500: '#8160df',
    950: '#000000',
  },
}
SCSS
$custom: #8160df;
$custom-light: #ab8eea;
$custom-dark: #000000;
JSON
{
  "hex": "#8160df",
  "rgb": {
    "r": 129,
    "g": 96,
    "b": 223
  },
  "hsl": {
    "h": 255.591,
    "s": 66.492,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58621,
    "c": 0.1854,
    "h": 291.6
  },
  "luminance": 0.18361
}

Semantic roles & 50–950 ramp

primary
#8160DF
secondary
#D8E4B6
accent
#CE179F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8160DF

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

Preview Lab → · Contrast checker → · Palette generator →

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