#8125BD#8125BD

#8125BD is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.219 H 307.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8125BD
RGBrgb(129, 37, 189)
HSLhsl(276, 67%, 44%)
HSVhsv(276, 80%, 74%)
CMYKcmyk(31.7%, 80.4%, 0%, 25.9%)
CIE-LABlab(37.23, 62.37, -61.49)
CIE-LCHlch(37.23, 87.59, 315.41°)
OKLaboklab(48.74% 0.1325 -0.175)
OKLCHoklch(48.74% 0.219 307.1)
XYZxyz(18.8981, 9.6646, 49.0041)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8125BD #61BD25
analogous
#3525BD #8125BD #BD25AD
triadic
#8125BD #BD8125 #25BD81
tetradic
#8125BD #BD3525 #61BD25 #25ADBD
square
#8125BD #BD3525 #61BD25 #25ADBD
split-complementary
#8125BD #ADBD25 #25BD35
monochromatic
#3B1157 #5E1B8A #8125BD #9F45DB #BA78E5

Accessibility & contrast

On white

7.16
#8125BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8125BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8125BD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8125BD#FFFFFF#000000##FFFFFF
##8125BD1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#774D72
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8125bd;
/* rgb */ color: rgb(129, 37, 189);
/* oklch */ color: oklch(48.7% 0.219 307.1);
Tailwind
colors: {
  custom: {
    50: '#ab6cd2',
    500: '#8125bd',
    950: '#000000',
  },
}
SCSS
$custom: #8125bd;
$custom-light: #ab6cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8125bd",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 276.316,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48736,
    "c": 0.21948,
    "h": 307.1
  },
  "luminance": 0.09664
}

Semantic roles & 50–950 ramp

primary
#8125BD
secondary
#95CC72
accent
#EA3E82
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8125BD

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

Preview Lab → · Contrast checker → · Palette generator →

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