#9227B6#9227B6

#9227B6 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.7% C 0.216 H 315.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9227B6
RGBrgb(146, 39, 182)
HSLhsl(285, 65%, 43%)
HSVhsv(285, 79%, 71%)
CMYKcmyk(19.8%, 78.6%, 0%, 28.6%)
CIE-LABlab(39.48, 63.24, -53.60)
CIE-LCHlch(39.48, 82.90, 319.72°)
OKLaboklab(50.66% 0.1548 -0.1512)
OKLCHoklch(50.66% 0.216 315.7)
XYZxyz(21.0217, 10.9403, 45.2512)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9227B6 #4BB627
analogous
#4A27B6 #9227B6 #B62792
triadic
#9227B6 #B69227 #27B692
tetradic
#9227B6 #B64A27 #4BB627 #2792B6
square
#9227B6 #B64A27 #4BB627 #2792B6
split-complementary
#9227B6 #92B627 #27B64A
monochromatic
#411151 #6A1C84 #9227B6 #B243D7 #C676E2

Accessibility & contrast

On white

6.59
#9227B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9227B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9227B6
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9227B6#FFFFFF#000000##FFFFFF
##9227B61.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#2360B3
Tritanopia (blue-blind)
#8F486F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9227b6;
/* rgb */ color: rgb(146, 39, 182);
/* oklch */ color: oklch(50.7% 0.216 315.7);
Tailwind
colors: {
  custom: {
    50: '#b66ecd',
    500: '#9227b6',
    950: '#000000',
  },
}
SCSS
$custom: #9227b6;
$custom-light: #b66ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#9227b6",
  "rgb": {
    "r": 146,
    "g": 39,
    "b": 182
  },
  "hsl": {
    "h": 284.895,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50663,
    "c": 0.21642,
    "h": 315.7
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#9227B6
secondary
#86C970
accent
#E8406A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9227B6

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

Preview Lab → · Contrast checker → · Palette generator →

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