#8161FC#8161FC

#8161FC is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.8% C 0.220 H 287.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8161FC
RGBrgb(129, 97, 252)
HSLhsl(252, 96%, 68%)
HSVhsv(252, 62%, 99%)
CMYKcmyk(48.8%, 61.5%, 0%, 1.2%)
CIE-LABlab(52.11, 50.20, -73.24)
CIE-LCHlch(52.11, 88.79, 304.42°)
OKLaboklab(60.84% 0.0661 -0.2098)
OKLCHoklch(60.84% 0.22 287.5)
XYZxyz(30.8935, 20.2434, 94.3561)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161FC #DCFC61
analogous
#618EFC #8161FC #CE61FC
triadic
#8161FC #FC8161 #61FC81
tetradic
#8161FC #FC618E #DCFC61 #61FCCE
square
#8161FC #FC618E #DCFC61 #61FCCE
split-complementary
#8161FC #FCCE61 #8EFC61
monochromatic
#3104DE #5125FB #8161FC #B19DFD #E1D9FE

Accessibility & contrast

On white

4.16
#8161FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8161FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161FC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161FC#FFFFFF#000000##000000
##8161FC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0078F9
Tritanopia (blue-blind)
#5686A6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8161fc;
/* rgb */ color: rgb(129, 97, 252);
/* oklch */ color: oklch(60.8% 0.220 287.5);
Tailwind
colors: {
  custom: {
    50: '#ae8ffe',
    500: '#8161fc',
    950: '#000000',
  },
}
SCSS
$custom: #8161fc;
$custom-light: #ae8ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#8161fc",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 252
  },
  "hsl": {
    "h": 252.387,
    "s": 96.273,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60842,
    "c": 0.21992,
    "h": 287.5
  },
  "luminance": 0.20245
}

Semantic roles & 50–950 ramp

primary
#8161FC
secondary
#EAF4C5
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #8161FC

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

Preview Lab → · Contrast checker → · Palette generator →

#8161FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva