#8160F2#8160F2

#8160F2 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.209 H 288.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8160F2
RGBrgb(129, 96, 242)
HSLhsl(254, 85%, 66%)
HSVhsv(254, 60%, 95%)
CMYKcmyk(46.7%, 60.3%, 0%, 5.1%)
CIE-LABlab(51.20, 47.95, -69.15)
CIE-LCHlch(51.20, 84.15, 304.73°)
OKLaboklab(59.96% 0.0677 -0.1977)
OKLCHoklch(59.96% 0.209 288.9)
XYZxyz(29.2586, 19.4425, 86.1983)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8160F2 #D1F260
analogous
#6088F2 #8160F2 #CA60F2
triadic
#8160F2 #F28160 #60F281
tetradic
#8160F2 #F26088 #D1F260 #60F2CA
square
#8160F2 #F26088 #D1F260 #60F2CA
split-complementary
#8160F2 #F2CA60 #88F260
monochromatic
#3A10C7 #5427ED #8160F2 #AE99F7 #DBD1FB

Accessibility & contrast

On white

4.30
#8160F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8160F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8160F2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8160F2#FFFFFF#000000##000000
##8160F21.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#5C82A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8160f2;
/* rgb */ color: rgb(129, 96, 242);
/* oklch */ color: oklch(60.0% 0.209 288.9);
Tailwind
colors: {
  custom: {
    50: '#ad8ef7',
    500: '#8160f2',
    950: '#000000',
  },
}
SCSS
$custom: #8160f2;
$custom-light: #ad8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#8160f2",
  "rgb": {
    "r": 129,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 253.562,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59957,
    "c": 0.209,
    "h": 288.9
  },
  "luminance": 0.19444
}

Semantic roles & 50–950 ramp

primary
#8160F2
secondary
#E4EFBF
accent
#E104AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8160F2

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

Preview Lab → · Contrast checker → · Palette generator →

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