#9228AD#9228AD

#9228AD is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.208 H 318.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9228AD
RGBrgb(146, 40, 173)
HSLhsl(288, 62%, 42%)
HSVhsv(288, 77%, 68%)
CMYKcmyk(15.6%, 76.9%, 0%, 32.2%)
CIE-LABlab(38.98, 61.18, -49.07)
CIE-LCHlch(38.98, 78.43, 321.27°)
OKLaboklab(50.11% 0.1553 -0.1379)
OKLCHoklch(50.11% 0.208 318.4)
XYZxyz(20.1546, 10.6467, 40.5204)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9228AD #43AD28
analogous
#5028AD #9228AD #AD2885
triadic
#9228AD #AD9228 #28AD92
tetradic
#9228AD #AD5028 #43AD28 #2885AD
square
#9228AD #AD5028 #43AD28 #2885AD
split-complementary
#9228AD #85AD28 #28AD50
monochromatic
#3E114A #681D7B #9228AD #B53FD3 #C871DE

Accessibility & contrast

On white

6.71
#9228AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9228AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9228AD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9228AD#FFFFFF#000000##FFFFFF
##9228AD1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9228ad;
/* rgb */ color: rgb(146, 40, 173);
/* oklch */ color: oklch(50.1% 0.208 318.4);
Tailwind
colors: {
  custom: {
    50: '#b66ec6',
    500: '#9228ad',
    950: '#000000',
  },
}
SCSS
$custom: #9228ad;
$custom-light: #b66ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#9228ad",
  "rgb": {
    "r": 146,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 287.82,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50115,
    "c": 0.20774,
    "h": 318.4
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#9228AD
secondary
#7EC56C
accent
#E64263
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9228AD

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

Preview Lab → · Contrast checker → · Palette generator →

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