#9227AE#9227AE

#9227AE is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.210 H 318.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9227AE
RGBrgb(146, 39, 174)
HSLhsl(288, 63%, 42%)
HSVhsv(288, 78%, 68%)
CMYKcmyk(16.1%, 77.6%, 0%, 31.8%)
CIE-LABlab(38.93, 61.70, -49.74)
CIE-LCHlch(38.93, 79.25, 321.13°)
OKLaboklab(50.1% 0.1561 -0.1399)
OKLCHoklch(50.1% 0.21 318.1)
XYZxyz(20.2185, 10.6190, 41.0209)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9227AE #43AE27
analogous
#4F27AE #9227AE #AE2786
triadic
#9227AE #AE9227 #27AE92
tetradic
#9227AE #AE4F27 #43AE27 #2786AE
square
#9227AE #AE4F27 #43AE27 #2786AE
split-complementary
#9227AE #86AE27 #27AE4F
monochromatic
#3E114A #681C7C #9227AE #B53ED4 #C870DF

Accessibility & contrast

On white

6.72
#9227AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9227AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9227AE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9227AE#FFFFFF#000000##FFFFFF
##9227AE1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#2D5FAB
Tritanopia (blue-blind)
#91456A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9227ae;
/* rgb */ color: rgb(146, 39, 174);
/* oklch */ color: oklch(50.1% 0.210 318.1);
Tailwind
colors: {
  custom: {
    50: '#b66ec7',
    500: '#9227ae',
    950: '#000000',
  },
}
SCSS
$custom: #9227ae;
$custom-light: #b66ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#9227ae",
  "rgb": {
    "r": 146,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 287.556,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50102,
    "c": 0.20959,
    "h": 318.1
  },
  "luminance": 0.10618
}

Semantic roles & 50–950 ramp

primary
#9227AE
secondary
#7EC66B
accent
#E64164
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9227AE

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

Preview Lab → · Contrast checker → · Palette generator →

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