#8125BA#8125BA

#8125BA is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.5% C 0.217 H 307.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8125BA
RGBrgb(129, 37, 186)
HSLhsl(277, 67%, 44%)
HSVhsv(277, 80%, 73%)
CMYKcmyk(30.6%, 80.1%, 0%, 27.1%)
CIE-LABlab(37.00, 61.73, -60.11)
CIE-LCHlch(37.00, 86.16, 315.76°)
OKLaboklab(48.5% 0.1333 -0.1709)
OKLCHoklch(48.5% 0.217 307.9)
XYZxyz(18.5759, 9.5357, 47.3069)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8125BA #5EBA25
analogous
#3625BA #8125BA #BA25A8
triadic
#8125BA #BA8125 #25BA81
tetradic
#8125BA #BA3625 #5EBA25 #25A8BA
square
#8125BA #BA3625 #5EBA25 #25A8BA
split-complementary
#8125BA #A8BA25 #25BA36
monochromatic
#3A1154 #5E1B87 #8125BA #A043DA #BA76E4

Accessibility & contrast

On white

7.22
#8125BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8125BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8125BA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8125BA#FFFFFF#000000##FFFFFF
##8125BA1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.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: #8125ba;
/* rgb */ color: rgb(129, 37, 186);
/* oklch */ color: oklch(48.5% 0.217 307.9);
Tailwind
colors: {
  custom: {
    50: '#ab6bd0',
    500: '#8125ba',
    950: '#000000',
  },
}
SCSS
$custom: #8125ba;
$custom-light: #ab6bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8125ba",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 277.047,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48496,
    "c": 0.21674,
    "h": 307.9
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#8125BA
secondary
#93CB70
accent
#EA3E80
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8125BA

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

Preview Lab → · Contrast checker → · Palette generator →

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