#8122BB#8122BB

#8122BB is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.3% C 0.220 H 307.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8122BB
RGBrgb(129, 34, 187)
HSLhsl(277, 69%, 43%)
HSVhsv(277, 82%, 73%)
CMYKcmyk(31%, 81.8%, 0%, 26.7%)
CIE-LABlab(36.74, 62.91, -61.11)
CIE-LCHlch(36.74, 87.71, 315.83°)
OKLaboklab(48.34% 0.1352 -0.1738)
OKLCHoklch(48.34% 0.22 307.9)
XYZxyz(18.5930, 9.3993, 47.8388)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8122BB #5CBB22
analogous
#3422BB #8122BB #BB22A8
triadic
#8122BB #BB8122 #22BB81
tetradic
#8122BB #BB3422 #5CBB22 #22A8BB
square
#8122BB #BB3422 #5CBB22 #22A8BB
split-complementary
#8122BB #A8BB22 #22BB34
monochromatic
#3A0F53 #5D1987 #8122BB #A03EDC #BA72E5

Accessibility & contrast

On white

7.29
#8122BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8122BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8122BB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8122BB#FFFFFF#000000##FFFFFF
##8122BB1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#774B70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8122bb;
/* rgb */ color: rgb(129, 34, 187);
/* oklch */ color: oklch(48.3% 0.220 307.9);
Tailwind
colors: {
  custom: {
    50: '#ab6ad0',
    500: '#8122bb',
    950: '#000000',
  },
}
SCSS
$custom: #8122bb;
$custom-light: #ab6ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8122bb",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 277.255,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48344,
    "c": 0.22025,
    "h": 307.9
  },
  "luminance": 0.09399
}

Semantic roles & 50–950 ramp

primary
#8122BB
secondary
#91CC6D
accent
#EC3C7F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8122BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8122BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva