#8160CA#8160CA

#8160CA is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.2% C 0.159 H 295.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8160CA
RGBrgb(129, 96, 202)
HSLhsl(259, 50%, 58%)
HSVhsv(259, 52%, 79%)
CMYKcmyk(36.1%, 52.5%, 0%, 20.8%)
CIE-LABlab(48.63, 36.98, -50.64)
CIE-LCHlch(48.63, 62.71, 306.14°)
OKLaboklab(57.25% 0.0678 -0.1433)
OKLCHoklch(57.25% 0.159 295.3)
XYZxyz(23.8941, 17.2967, 57.9454)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8160CA #A9CA60
analogous
#6074CA #8160CA #B660CA
triadic
#8160CA #CA8160 #60CA81
tetradic
#8160CA #CA6074 #A9CA60 #60CAB6
square
#8160CA #CA6074 #A9CA60 #60CAB6
split-complementary
#8160CA #CAB660 #74CA60
monochromatic
#472C84 #603BB2 #8160CA #A58ED9 #CABCE9

Accessibility & contrast

On white

4.71
#8160CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8160CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8160CA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8160CA#FFFFFF#000000##FFFFFF
##8160CA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3574CE
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#70758C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8160ca;
/* rgb */ color: rgb(129, 96, 202);
/* oklch */ color: oklch(57.2% 0.159 295.3);
Tailwind
colors: {
  custom: {
    50: '#a98edb',
    500: '#8160ca',
    950: '#000000',
  },
}
SCSS
$custom: #8160ca;
$custom-light: #a98edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8160ca",
  "rgb": {
    "r": 129,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 258.679,
    "s": 50,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57246,
    "c": 0.15854,
    "h": 295.3
  },
  "luminance": 0.17297
}

Semantic roles & 50–950 ramp

primary
#8160CA
secondary
#CBD8AE
accent
#DA4EAE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8160CA

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

Preview Lab → · Contrast checker → · Palette generator →

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