#8117B3#8117B3

#8117B3 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 47.0% C 0.221 H 310.7°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8117B3
RGBrgb(129, 23, 179)
HSLhsl(281, 77%, 40%)
HSVhsv(281, 87%, 70%)
CMYKcmyk(27.9%, 87.2%, 0%, 29.8%)
CIE-LABlab(35.07, 64.28, -59.09)
CIE-LCHlch(35.07, 87.31, 317.41°)
OKLaboklab(46.99% 0.1444 -0.1678)
OKLCHoklch(46.99% 0.221 310.7)
XYZxyz(17.4947, 8.5350, 43.3649)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8117B3 #49B317
analogous
#3317B3 #8117B3 #B31797
triadic
#8117B3 #B38117 #17B381
tetradic
#8117B3 #B33317 #49B317 #1797B3
square
#8117B3 #B33317 #49B317 #1797B3
split-complementary
#8117B3 #97B317 #17B333
monochromatic
#330947 #5A107D #8117B3 #A624E3 #BC5BEA

Accessibility & contrast

On white

7.76
#8117B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8117B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8117B3
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8117B3#FFFFFF#000000##FFFFFF
##8117B31.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#7A446A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8117b3;
/* rgb */ color: rgb(129, 23, 179);
/* oklch */ color: oklch(47.0% 0.221 310.7);
Tailwind
colors: {
  custom: {
    50: '#ab66cb',
    500: '#8117b3',
    950: '#000000',
  },
}
SCSS
$custom: #8117b3;
$custom-light: #ab66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8117b3",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 280.769,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46986,
    "c": 0.22141,
    "h": 310.7
  },
  "luminance": 0.08535
}

Semantic roles & 50–950 ramp

primary
#8117B3
secondary
#7ECD58
accent
#F43471
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8117B3

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

Preview Lab → · Contrast checker → · Palette generator →

#8117B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva