#9227BB#9227BB

#9227BB is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.221 H 314.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9227BB
RGBrgb(146, 39, 187)
HSLhsl(283, 65%, 44%)
HSVhsv(283, 79%, 73%)
CMYKcmyk(21.9%, 79.1%, 0%, 26.7%)
CIE-LABlab(39.83, 64.22, -55.97)
CIE-LCHlch(39.83, 85.19, 318.92°)
OKLaboklab(51.02% 0.1539 -0.1582)
OKLCHoklch(51.02% 0.221 314.2)
XYZxyz(21.5477, 11.1506, 48.0213)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9227BB #50BB27
analogous
#4827BB #9227BB #BB279A
triadic
#9227BB #BB9227 #27BB92
tetradic
#9227BB #BB4827 #50BB27 #279ABB
square
#9227BB #BB4827 #50BB27 #279ABB
split-complementary
#9227BB #9ABB27 #27BB48
monochromatic
#431256 #6A1C88 #9227BB #B047D9 #C679E3

Accessibility & contrast

On white

6.50
#9227BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9227BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9227BB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9227BB#FFFFFF#000000##FFFFFF
##9227BB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#1960B8
Tritanopia (blue-blind)
#8E4B71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9227bb;
/* rgb */ color: rgb(146, 39, 187);
/* oklch */ color: oklch(51.0% 0.221 314.2);
Tailwind
colors: {
  custom: {
    50: '#b76ed0',
    500: '#9227bb',
    950: '#000000',
  },
}
SCSS
$custom: #9227bb;
$custom-light: #b76ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9227bb",
  "rgb": {
    "r": 146,
    "g": 39,
    "b": 187
  },
  "hsl": {
    "h": 283.378,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51023,
    "c": 0.22073,
    "h": 314.2
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#9227BB
secondary
#8BCB73
accent
#E83F6E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9227BB

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

Preview Lab → · Contrast checker → · Palette generator →

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