#9227A6#9227A6

#9227A6 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.203 H 320.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9227A6
RGBrgb(146, 39, 166)
HSLhsl(291, 62%, 40%)
HSVhsv(291, 77%, 65%)
CMYKcmyk(12%, 76.5%, 0%, 34.9%)
CIE-LABlab(38.40, 60.20, -45.81)
CIE-LCHlch(38.40, 75.65, 322.73°)
OKLaboklab(49.56% 0.157 -0.1284)
OKLCHoklch(49.56% 0.203 320.7)
XYZxyz(19.4617, 10.3162, 37.0351)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9227A6 #3BA627
analogous
#5227A6 #9227A6 #A6277B
triadic
#9227A6 #A69227 #27A692
tetradic
#9227A6 #A65227 #3BA627 #277BA6
square
#9227A6 #A65227 #3BA627 #277BA6
split-complementary
#9227A6 #7BA627 #27A652
monochromatic
#3B1043 #661B74 #9227A6 #B93AD1 #CA6BDC

Accessibility & contrast

On white

6.86
#9227A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9227A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9227A6
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9227A6#FFFFFF#000000##FFFFFF
##9227A61.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#355EA3
Tritanopia (blue-blind)
#934165
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9227a6;
/* rgb */ color: rgb(146, 39, 166);
/* oklch */ color: oklch(49.6% 0.203 320.7);
Tailwind
colors: {
  custom: {
    50: '#b66dc1',
    500: '#9227a6',
    950: '#000000',
  },
}
SCSS
$custom: #9227a6;
$custom-light: #b66dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9227a6",
  "rgb": {
    "r": 146,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 290.551,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49562,
    "c": 0.20281,
    "h": 320.7
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#9227A6
secondary
#75C366
accent
#E5435C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9227A6

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

Preview Lab → · Contrast checker → · Palette generator →

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