#8122BD#8122BD

#8122BD is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.5% C 0.222 H 307.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8122BD
RGBrgb(129, 34, 189)
HSLhsl(277, 70%, 44%)
HSVhsv(277, 82%, 74%)
CMYKcmyk(31.7%, 82%, 0%, 25.9%)
CIE-LABlab(36.90, 63.34, -62.03)
CIE-LCHlch(36.90, 88.65, 315.60°)
OKLaboklab(48.51% 0.1347 -0.1765)
OKLCHoklch(48.51% 0.222 307.3)
XYZxyz(18.8086, 9.4856, 48.9743)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8122BD #5EBD22
analogous
#3322BD #8122BD #BD22AB
triadic
#8122BD #BD8122 #22BD81
tetradic
#8122BD #BD3322 #5EBD22 #22ABBD
square
#8122BD #BD3322 #5EBD22 #22ABBD
split-complementary
#8122BD #ABBD22 #22BD33
monochromatic
#3A0F55 #5E1989 #8122BD #A040DD #BA73E6

Accessibility & contrast

On white

7.25
#8122BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8122BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8122BD
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8122BD#FFFFFF#000000##FFFFFF
##8122BD1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#774C72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8122bd;
/* rgb */ color: rgb(129, 34, 189);
/* oklch */ color: oklch(48.5% 0.222 307.3);
Tailwind
colors: {
  custom: {
    50: '#ac6ad2',
    500: '#8122bd',
    950: '#000000',
  },
}
SCSS
$custom: #8122bd;
$custom-light: #ac6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8122bd",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 276.774,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48506,
    "c": 0.22205,
    "h": 307.3
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#8122BD
secondary
#93CD6E
accent
#EC3B80
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8122BD

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

Preview Lab → · Contrast checker → · Palette generator →

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