#8160F6#8160F6

#8160F6 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.2% C 0.214 H 288.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8160F6
RGBrgb(129, 96, 246)
HSLhsl(253, 89%, 67%)
HSVhsv(253, 61%, 96%)
CMYKcmyk(47.6%, 61%, 0%, 3.5%)
CIE-LABlab(51.48, 49.06, -70.93)
CIE-LCHlch(51.48, 86.25, 304.67°)
OKLaboklab(60.25% 0.0675 -0.203)
OKLCHoklch(60.25% 0.214 288.4)
XYZxyz(29.8659, 19.6854, 89.3969)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8160F6 #D5F660
analogous
#608AF6 #8160F6 #CC60F6
triadic
#8160F6 #F68160 #60F681
tetradic
#8160F6 #F6608A #D5F660 #60F6CC
square
#8160F6 #F6608A #D5F660 #60F6CC
split-complementary
#8160F6 #F6CC60 #8AF660
monochromatic
#370CD0 #5326F3 #8160F6 #AF9AF9 #DDD4FD

Accessibility & contrast

On white

4.25
#8160F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8160F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8160F6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8160F6#FFFFFF#000000##000000
##8160F61.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#5A83A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8160f6;
/* rgb */ color: rgb(129, 96, 246);
/* oklch */ color: oklch(60.2% 0.214 288.4);
Tailwind
colors: {
  custom: {
    50: '#ae8ffa',
    500: '#8160f6',
    950: '#000000',
  },
}
SCSS
$custom: #8160f6;
$custom-light: #ae8ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#8160f6",
  "rgb": {
    "r": 129,
    "g": 96,
    "b": 246
  },
  "hsl": {
    "h": 253.2,
    "s": 89.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60249,
    "c": 0.21389,
    "h": 288.4
  },
  "luminance": 0.19687
}

Semantic roles & 50–950 ramp

primary
#8160F6
secondary
#E6F1C1
accent
#E600B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8160F6

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

Preview Lab → · Contrast checker → · Palette generator →

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