#8127B5#8127B5

#8127B5 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.210 H 309.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8127B5
RGBrgb(129, 39, 181)
HSLhsl(278, 65%, 43%)
HSVhsv(278, 78%, 71%)
CMYKcmyk(28.7%, 78.5%, 0%, 29%)
CIE-LABlab(36.85, 59.97, -57.39)
CIE-LCHlch(36.85, 83.01, 316.26°)
OKLaboklab(48.27% 0.1329 -0.163)
OKLCHoklch(48.27% 0.21 309.2)
XYZxyz(18.1176, 9.4547, 44.5776)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8127B5 #5BB527
analogous
#3A27B5 #8127B5 #B527A2
triadic
#8127B5 #B58127 #27B581
tetradic
#8127B5 #B53A27 #5BB527 #27A2B5
square
#8127B5 #B53A27 #5BB527 #27A2B5
split-complementary
#8127B5 #A2B527 #27B53A
monochromatic
#391150 #5D1C83 #8127B5 #A043D6 #BA75E1

Accessibility & contrast

On white

7.26
#8127B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8127B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8127B5
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8127B5#FFFFFF#000000##FFFFFF
##8127B51.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#794B6E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8127b5;
/* rgb */ color: rgb(129, 39, 181);
/* oklch */ color: oklch(48.3% 0.210 309.2);
Tailwind
colors: {
  custom: {
    50: '#ab6ccc',
    500: '#8127b5',
    950: '#000000',
  },
}
SCSS
$custom: #8127b5;
$custom-light: #ab6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#8127b5",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 181
  },
  "hsl": {
    "h": 278.028,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4827,
    "c": 0.21027,
    "h": 309.2
  },
  "luminance": 0.09454
}

Semantic roles & 50–950 ramp

primary
#8127B5
secondary
#90C96F
accent
#E8407E
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8127B5

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

Preview Lab → · Contrast checker → · Palette generator →

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