#9228AE#9228AE

#9228AE is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.209 H 318.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9228AE
RGBrgb(146, 40, 174)
HSLhsl(287, 63%, 42%)
HSVhsv(287, 77%, 68%)
CMYKcmyk(16.1%, 77%, 0%, 31.8%)
CIE-LABlab(39.05, 61.37, -49.55)
CIE-LCHlch(39.05, 78.88, 321.08°)
OKLaboklab(50.18% 0.1552 -0.1394)
OKLCHoklch(50.18% 0.209 318.1)
XYZxyz(20.2518, 10.6855, 41.0319)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9228AE #44AE28
analogous
#4F28AE #9228AE #AE2887
triadic
#9228AE #AE9228 #28AE92
tetradic
#9228AE #AE4F28 #44AE28 #2887AE
square
#9228AE #AE4F28 #44AE28 #2887AE
split-complementary
#9228AE #87AE28 #28AE4F
monochromatic
#3E114A #681D7C #9228AE #B440D3 #C872DF

Accessibility & contrast

On white

6.69
#9228AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9228AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9228AE
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9228AE#FFFFFF#000000##FFFFFF
##9228AE1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9228ae;
/* rgb */ color: rgb(146, 40, 174);
/* oklch */ color: oklch(50.2% 0.209 318.1);
Tailwind
colors: {
  custom: {
    50: '#b66ec7',
    500: '#9228ae',
    950: '#000000',
  },
}
SCSS
$custom: #9228ae;
$custom-light: #b66ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#9228ae",
  "rgb": {
    "r": 146,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 287.463,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50183,
    "c": 0.20859,
    "h": 318.1
  },
  "luminance": 0.10685
}

Semantic roles & 50–950 ramp

primary
#9228AE
secondary
#7FC66C
accent
#E64264
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9228AE

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

Preview Lab → · Contrast checker → · Palette generator →

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