#9122B2#9122B2

#9122B2 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.217 H 316.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9122B2
RGBrgb(145, 34, 178)
HSLhsl(286, 68%, 42%)
HSVhsv(286, 81%, 70%)
CMYKcmyk(18.5%, 80.9%, 0%, 30.2%)
CIE-LABlab(38.51, 63.82, -52.80)
CIE-LCHlch(38.51, 82.83, 320.40°)
OKLaboklab(49.86% 0.1582 -0.1489)
OKLCHoklch(49.86% 0.217 316.7)
XYZxyz(20.2837, 10.3790, 43.0458)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9122B2 #43B222
analogous
#4922B2 #9122B2 #B2228B
triadic
#9122B2 #B29122 #22B291
tetradic
#9122B2 #B24922 #43B222 #228BB2
square
#9122B2 #B24922 #43B222 #228BB2
split-complementary
#9122B2 #8BB222 #22B249
monochromatic
#3D0E4B #67187F #9122B2 #B438D9 #C86CE3

Accessibility & contrast

On white

6.83
#9122B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9122B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9122B2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9122B2#FFFFFF#000000##FFFFFF
##9122B21.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#225EAF
Tritanopia (blue-blind)
#8F446B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9122b2;
/* rgb */ color: rgb(145, 34, 178);
/* oklch */ color: oklch(49.9% 0.217 316.7);
Tailwind
colors: {
  custom: {
    50: '#b66cca',
    500: '#9122b2',
    950: '#000000',
  },
}
SCSS
$custom: #9122b2;
$custom-light: #b66cca;
$custom-dark: #000000;
JSON
{
  "hex": "#9122b2",
  "rgb": {
    "r": 145,
    "g": 34,
    "b": 178
  },
  "hsl": {
    "h": 286.25,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49865,
    "c": 0.2172,
    "h": 316.7
  },
  "luminance": 0.10378
}

Semantic roles & 50–950 ramp

primary
#9122B2
secondary
#7DC967
accent
#EB3D65
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9122B2

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

Preview Lab → · Contrast checker → · Palette generator →

#9122B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva