#8124BA#8124BA

#8124BA is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.218 H 308.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8124BA
RGBrgb(129, 36, 186)
HSLhsl(277, 68%, 44%)
HSVhsv(277, 81%, 73%)
CMYKcmyk(30.6%, 80.6%, 0%, 27.1%)
CIE-LABlab(36.88, 62.06, -60.29)
CIE-LCHlch(36.88, 86.53, 315.83°)
OKLaboklab(48.42% 0.134 -0.1715)
OKLCHoklch(48.42% 0.218 308)
XYZxyz(18.5452, 9.4743, 47.2966)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8124BA #5DBA24
analogous
#3624BA #8124BA #BA24A8
triadic
#8124BA #BA8124 #24BA81
tetradic
#8124BA #BA3624 #5DBA24 #24A8BA
square
#8124BA #BA3624 #5DBA24 #24A8BA
split-complementary
#8124BA #A8BA24 #24BA36
monochromatic
#3A1053 #5D1A87 #8124BA #A041DA #BA74E4

Accessibility & contrast

On white

7.25
#8124BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8124BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8124BA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8124BA#FFFFFF#000000##FFFFFF
##8124BA1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#784C70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8124ba;
/* rgb */ color: rgb(129, 36, 186);
/* oklch */ color: oklch(48.4% 0.218 308.0);
Tailwind
colors: {
  custom: {
    50: '#ab6bd0',
    500: '#8124ba',
    950: '#000000',
  },
}
SCSS
$custom: #8124ba;
$custom-light: #ab6bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8124ba",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 186
  },
  "hsl": {
    "h": 277.2,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48417,
    "c": 0.21763,
    "h": 308
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#8124BA
secondary
#92CB6E
accent
#EA3D7F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8124BA

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

Preview Lab → · Contrast checker → · Palette generator →

#8124BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva