#8127B1#8127B1

#8127B1 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.207 H 310.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8127B1
RGBrgb(129, 39, 177)
HSLhsl(279, 64%, 42%)
HSVhsv(279, 78%, 69%)
CMYKcmyk(27.1%, 78%, 0%, 30.6%)
CIE-LABlab(36.54, 59.12, -55.51)
CIE-LCHlch(36.54, 81.10, 316.80°)
OKLaboklab(47.96% 0.1338 -0.1574)
OKLCHoklch(47.96% 0.207 310.4)
XYZxyz(17.7130, 9.2929, 42.4471)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8127B1 #57B127
analogous
#3C27B1 #8127B1 #B1279C
triadic
#8127B1 #B18127 #27B181
tetradic
#8127B1 #B13C27 #57B127 #279CB1
square
#8127B1 #B13C27 #57B127 #279CB1
split-complementary
#8127B1 #9CB127 #27B13C
monochromatic
#38114D #5C1C7F #8127B1 #A140D5 #BA72E0

Accessibility & contrast

On white

7.35
#8127B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8127B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8127B1
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8127B1#FFFFFF#000000##FFFFFF
##8127B11.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#7A496C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8127b1;
/* rgb */ color: rgb(129, 39, 177);
/* oklch */ color: oklch(48.0% 0.207 310.4);
Tailwind
colors: {
  custom: {
    50: '#aa6cc9',
    500: '#8127b1',
    950: '#000000',
  },
}
SCSS
$custom: #8127b1;
$custom-light: #aa6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8127b1",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 279.13,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47962,
    "c": 0.20658,
    "h": 310.4
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#8127B1
secondary
#8CC76D
accent
#E7417B
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8127B1

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

Preview Lab → · Contrast checker → · Palette generator →

#8127B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva