#8160EA#8160EA

#8160EA is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.4% C 0.199 H 290.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8160EA
RGBrgb(129, 96, 234)
HSLhsl(254, 77%, 65%)
HSVhsv(254, 59%, 92%)
CMYKcmyk(44.9%, 59%, 0%, 8.2%)
CIE-LABlab(50.65, 45.72, -65.55)
CIE-LCHlch(50.65, 79.92, 304.89°)
OKLaboklab(59.39% 0.0681 -0.1871)
OKLCHoklch(59.39% 0.199 290)
XYZxyz(28.0832, 18.9724, 80.0083)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8160EA #C9EA60
analogous
#6084EA #8160EA #C660EA
triadic
#8160EA #EA8160 #60EA81
tetradic
#8160EA #EA6084 #C9EA60 #60EAC6
square
#8160EA #EA6084 #C9EA60 #60EAC6
split-complementary
#8160EA #EAC660 #84EA60
monochromatic
#3E18B7 #562AE3 #8160EA #AC96F1 #D7CCF8

Accessibility & contrast

On white

4.38
#8160EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8160EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8160EA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8160EA#FFFFFF#000000##000000
##8160EA1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#617F9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8160ea;
/* rgb */ color: rgb(129, 96, 234);
/* oklch */ color: oklch(59.4% 0.199 290.0);
Tailwind
colors: {
  custom: {
    50: '#ac8ef2',
    500: '#8160ea',
    950: '#000000',
  },
}
SCSS
$custom: #8160ea;
$custom-light: #ac8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8160ea",
  "rgb": {
    "r": 129,
    "g": 96,
    "b": 234
  },
  "hsl": {
    "h": 254.348,
    "s": 76.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59385,
    "c": 0.19915,
    "h": 290
  },
  "luminance": 0.18973
}

Semantic roles & 50–950 ramp

primary
#8160EA
secondary
#DFEBBB
accent
#D90DA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8160EA

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

Preview Lab → · Contrast checker → · Palette generator →

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