#9121B2#9121B2

#9121B2 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.8% C 0.218 H 316.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9121B2
RGBrgb(145, 33, 178)
HSLhsl(286, 69%, 41%)
HSVhsv(286, 81%, 70%)
CMYKcmyk(18.5%, 81.5%, 0%, 30.2%)
CIE-LABlab(38.42, 64.11, -52.96)
CIE-LCHlch(38.42, 83.15, 320.44°)
OKLaboklab(49.8% 0.1589 -0.1493)
OKLCHoklch(49.8% 0.218 316.8)
XYZxyz(20.2556, 10.3227, 43.0364)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9121B2 #42B221
analogous
#4921B2 #9121B2 #B2218B
triadic
#9121B2 #B29121 #21B291
tetradic
#9121B2 #B24921 #42B221 #218BB2
square
#9121B2 #B24921 #42B221 #218BB2
split-complementary
#9121B2 #8BB221 #21B249
monochromatic
#3D0E4B #67177E #9121B2 #B536DA #C86AE3

Accessibility & contrast

On white

6.85
#9121B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9121B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9121B2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9121B2#FFFFFF#000000##FFFFFF
##9121B21.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9121b2;
/* rgb */ color: rgb(145, 33, 178);
/* oklch */ color: oklch(49.8% 0.218 316.8);
Tailwind
colors: {
  custom: {
    50: '#b66cca',
    500: '#9121b2',
    950: '#000000',
  },
}
SCSS
$custom: #9121b2;
$custom-light: #b66cca;
$custom-dark: #000000;
JSON
{
  "hex": "#9121b2",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 286.345,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49795,
    "c": 0.21806,
    "h": 316.8
  },
  "luminance": 0.10322
}

Semantic roles & 50–950 ramp

primary
#9121B2
secondary
#7CC966
accent
#EC3C64
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9121B2

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

Preview Lab → · Contrast checker → · Palette generator →

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