#9227A5#9227A5

#9227A5 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.202 H 321.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9227A5
RGBrgb(146, 39, 165)
HSLhsl(291, 62%, 40%)
HSVhsv(291, 76%, 65%)
CMYKcmyk(11.5%, 76.4%, 0%, 35.3%)
CIE-LABlab(38.34, 60.02, -45.31)
CIE-LCHlch(38.34, 75.20, 322.95°)
OKLaboklab(49.5% 0.1571 -0.1269)
OKLCHoklch(49.5% 0.202 321.1)
XYZxyz(19.3703, 10.2797, 36.5539)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9227A5 #3AA527
analogous
#5327A5 #9227A5 #A52779
triadic
#9227A5 #A59227 #27A592
tetradic
#9227A5 #A55327 #3AA527 #2779A5
square
#9227A5 #A55327 #3AA527 #2779A5
split-complementary
#9227A5 #79A527 #27A553
monochromatic
#3A1042 #661B74 #9227A5 #B939D0 #CB6ADC

Accessibility & contrast

On white

6.87
#9227A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9227A5
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9227A5#FFFFFF#000000##FFFFFF
##9227A51.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#365EA2
Tritanopia (blue-blind)
#934065
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9227a5;
/* rgb */ color: rgb(146, 39, 165);
/* oklch */ color: oklch(49.5% 0.202 321.1);
Tailwind
colors: {
  custom: {
    50: '#b66dc0',
    500: '#9227a5',
    950: '#000000',
  },
}
SCSS
$custom: #9227a5;
$custom-light: #b66dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9227a5",
  "rgb": {
    "r": 146,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 290.952,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.49495,
    "c": 0.20198,
    "h": 321.1
  },
  "luminance": 0.10279
}

Semantic roles & 50–950 ramp

primary
#9227A5
secondary
#74C266
accent
#E5435B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9227A5

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

Preview Lab → · Contrast checker → · Palette generator →

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