#8161F8#8161F8

#8161F8 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.5% C 0.215 H 288.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8161F8
RGBrgb(129, 97, 248)
HSLhsl(253, 92%, 68%)
HSVhsv(253, 61%, 97%)
CMYKcmyk(48%, 60.9%, 0%, 2.7%)
CIE-LABlab(51.83, 49.07, -71.48)
CIE-LCHlch(51.83, 86.70, 304.47°)
OKLaboklab(60.55% 0.0663 -0.2046)
OKLCHoklch(60.55% 0.215 288)
XYZxyz(30.2663, 19.9925, 91.0529)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8161F8 #D8F861
analogous
#618DF8 #8161F8 #CC61F8
triadic
#8161F8 #F88161 #61F881
tetradic
#8161F8 #F8618D #D8F861 #61F8CC
square
#8161F8 #F8618D #D8F861 #61F8CC
split-complementary
#8161F8 #F8CC61 #8DF861
monochromatic
#3509D5 #5226F5 #8161F8 #B09CFB #DED6FD

Accessibility & contrast

On white

4.20
#8161F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8161F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8161F8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8161F8#FFFFFF#000000##000000
##8161F81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFD
Deuteranopia (green-blind)
#0078F5
Tritanopia (blue-blind)
#5884A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8161f8;
/* rgb */ color: rgb(129, 97, 248);
/* oklch */ color: oklch(60.5% 0.215 288.0);
Tailwind
colors: {
  custom: {
    50: '#ae8ffb',
    500: '#8161f8',
    950: '#000000',
  },
}
SCSS
$custom: #8161f8;
$custom-light: #ae8ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#8161f8",
  "rgb": {
    "r": 129,
    "g": 97,
    "b": 248
  },
  "hsl": {
    "h": 252.715,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60547,
    "c": 0.21506,
    "h": 288
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#8161F8
secondary
#E8F2C3
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #8161F8

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

Preview Lab → · Contrast checker → · Palette generator →

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