#9227A0#9227A0

#9227A0 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.198 H 322.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9227A0
RGBrgb(146, 39, 160)
HSLhsl(293, 61%, 39%)
HSVhsv(293, 76%, 63%)
CMYKcmyk(8.8%, 75.6%, 0%, 37.3%)
CIE-LABlab(38.02, 59.10, -42.81)
CIE-LCHlch(38.02, 72.98, 324.08°)
OKLaboklab(49.17% 0.1575 -0.1196)
OKLCHoklch(49.17% 0.198 322.8)
XYZxyz(18.9241, 10.1012, 34.2038)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9227A0 #35A027
analogous
#5627A0 #9227A0 #A02772
triadic
#9227A0 #A09227 #27A092
tetradic
#9227A0 #A05627 #35A027 #2772A0
square
#9227A0 #A05627 #35A027 #2772A0
split-complementary
#9227A0 #72A027 #27A056
monochromatic
#380F3E #651B6F #9227A0 #BC36CE #CD67DA

Accessibility & contrast

On white

6.95
#9227A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9227A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9227A0
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9227A0#FFFFFF#000000##FFFFFF
##9227A01.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#3A5E9D
Tritanopia (blue-blind)
#943E62
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9227a0;
/* rgb */ color: rgb(146, 39, 160);
/* oklch */ color: oklch(49.2% 0.198 322.8);
Tailwind
colors: {
  custom: {
    50: '#b66dbd',
    500: '#9227a0',
    950: '#000000',
  },
}
SCSS
$custom: #9227a0;
$custom-light: #b66dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9227a0",
  "rgb": {
    "r": 146,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 293.058,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4917,
    "c": 0.19779,
    "h": 322.8
  },
  "luminance": 0.101
}

Semantic roles & 50–950 ramp

primary
#9227A0
secondary
#6EC063
accent
#E44456
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9227A0

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

Preview Lab → · Contrast checker → · Palette generator →

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