#8161FD#8161FD

#8161FD is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.9% C 0.221 H 287.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8161FD
RGBrgb(129, 97, 253)
HSLhsl(252, 98%, 69%)
HSVhsv(252, 62%, 99%)
CMYKcmyk(49%, 61.7%, 0%, 0.8%)
CIE-LABlab(52.18, 50.48, -73.68)
CIE-LCHlch(52.18, 89.32, 304.41°)
OKLaboklab(60.92% 0.066 -0.2111)
OKLCHoklch(60.92% 0.221 287.4)
XYZxyz(31.0524, 20.3069, 95.1929)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161FD #DDFD61
analogous
#618FFD #8161FD #CF61FD
triadic
#8161FD #FD8161 #61FD81
tetradic
#8161FD #FD618F #DDFD61 #61FDCF
square
#8161FD #FD618F #DDFD61 #61FDCF
split-complementary
#8161FD #FDCF61 #8FFD61
monochromatic
#3003E1 #5125FC #8161FD #B19DFE #E1DAFF

Accessibility & contrast

On white

4.15
#8161FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8161FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161FD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161FD#FFFFFF#000000##000000
##8161FD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8161fd;
/* rgb */ color: rgb(129, 97, 253);
/* oklch */ color: oklch(60.9% 0.221 287.4);
Tailwind
colors: {
  custom: {
    50: '#ae8fff',
    500: '#8161fd',
    950: '#000000',
  },
}
SCSS
$custom: #8161fd;
$custom-light: #ae8fff;
$custom-dark: #000000;
JSON
{
  "hex": "#8161fd",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 253
  },
  "hsl": {
    "h": 252.308,
    "s": 97.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60917,
    "c": 0.22113,
    "h": 287.4
  },
  "luminance": 0.20308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8161FD

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

Preview Lab → · Contrast checker → · Palette generator →

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