#8122B1#8122B1

#8122B1 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.211 H 310.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8122B1
RGBrgb(129, 34, 177)
HSLhsl(280, 68%, 41%)
HSVhsv(280, 81%, 69%)
CMYKcmyk(27.1%, 80.8%, 0%, 30.6%)
CIE-LABlab(35.96, 60.82, -56.46)
CIE-LCHlch(35.96, 82.99, 317.13°)
OKLaboklab(47.55% 0.1378 -0.1602)
OKLCHoklch(47.55% 0.211 310.7)
XYZxyz(17.5596, 8.9859, 42.3959)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8122B1 #52B122
analogous
#3922B1 #8122B1 #B1229A
triadic
#8122B1 #B18122 #22B181
tetradic
#8122B1 #B13922 #52B122 #229AB1
square
#8122B1 #B13922 #52B122 #229AB1
split-complementary
#8122B1 #9AB122 #22B139
monochromatic
#360E4A #5C187E #8122B1 #A338D9 #BA6BE3

Accessibility & contrast

On white

7.51
#8122B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8122B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8122B1
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8122B1#FFFFFF#000000##FFFFFF
##8122B11.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#7A476B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8122b1;
/* rgb */ color: rgb(129, 34, 177);
/* oklch */ color: oklch(47.6% 0.211 310.7);
Tailwind
colors: {
  custom: {
    50: '#ab6ac9',
    500: '#8122b1',
    950: '#000000',
  },
}
SCSS
$custom: #8122b1;
$custom-light: #ab6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8122b1",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 177
  },
  "hsl": {
    "h": 279.86,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47552,
    "c": 0.21128,
    "h": 310.7
  },
  "luminance": 0.08986
}

Semantic roles & 50–950 ramp

primary
#8122B1
secondary
#87C966
accent
#EB3D77
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8122B1

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

Preview Lab → · Contrast checker → · Palette generator →

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