#8125BE#8125BE

#8125BE is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.8% C 0.220 H 306.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8125BE
RGBrgb(129, 37, 190)
HSLhsl(276, 67%, 45%)
HSVhsv(276, 81%, 75%)
CMYKcmyk(32.1%, 80.5%, 0%, 25.5%)
CIE-LABlab(37.31, 62.59, -61.94)
CIE-LCHlch(37.31, 88.06, 315.30°)
OKLaboklab(48.82% 0.1323 -0.1763)
OKLCHoklch(48.82% 0.22 306.9)
XYZxyz(19.0071, 9.7082, 49.5778)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8125BE #62BE25
analogous
#3425BE #8125BE #BE25AF
triadic
#8125BE #BE8125 #25BE81
tetradic
#8125BE #BE3425 #62BE25 #25AFBE
square
#8125BE #BE3425 #62BE25 #25AFBE
split-complementary
#8125BE #AFBE25 #25BE34
monochromatic
#3B1158 #5E1B8B #8125BE #9F45DB #BA79E5

Accessibility & contrast

On white

7.14
#8125BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8125BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8125BE
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8125BE#FFFFFF#000000##FFFFFF
##8125BE1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#764E73
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8125be;
/* rgb */ color: rgb(129, 37, 190);
/* oklch */ color: oklch(48.8% 0.220 306.9);
Tailwind
colors: {
  custom: {
    50: '#ab6cd3',
    500: '#8125be',
    950: '#000000',
  },
}
SCSS
$custom: #8125be;
$custom-light: #ab6cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8125be",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 190
  },
  "hsl": {
    "h": 276.078,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48817,
    "c": 0.22041,
    "h": 306.9
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

primary
#8125BE
secondary
#96CD72
accent
#EA3E82
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8125BE

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

Preview Lab → · Contrast checker → · Palette generator →

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