#9228BD#9228BD

#9228BD is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.222 H 313.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9228BD
RGBrgb(146, 40, 189)
HSLhsl(283, 65%, 45%)
HSVhsv(283, 79%, 74%)
CMYKcmyk(22.8%, 78.8%, 0%, 25.9%)
CIE-LABlab(40.09, 64.29, -56.74)
CIE-LCHlch(40.09, 85.75, 318.57°)
OKLaboklab(51.25% 0.1528 -0.1605)
OKLCHoklch(51.25% 0.222 313.6)
XYZxyz(21.7965, 11.3034, 49.1678)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9228BD #53BD28
analogous
#4828BD #9228BD #BD289D
triadic
#9228BD #BD9228 #28BD92
tetradic
#9228BD #BD4828 #53BD28 #289DBD
square
#9228BD #BD4828 #53BD28 #289DBD
split-complementary
#9228BD #9DBD28 #28BD48
monochromatic
#441358 #6B1D8A #9228BD #AF4AD9 #C67CE3

Accessibility & contrast

On white

6.44
#9228BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9228BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9228BD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9228BD#FFFFFF#000000##FFFFFF
##9228BD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#1661BA
Tritanopia (blue-blind)
#8D4C73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9228bd;
/* rgb */ color: rgb(146, 40, 189);
/* oklch */ color: oklch(51.2% 0.222 313.6);
Tailwind
colors: {
  custom: {
    50: '#b76fd2',
    500: '#9228bd',
    950: '#000000',
  },
}
SCSS
$custom: #9228bd;
$custom-light: #b76fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9228bd",
  "rgb": {
    "r": 146,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 282.685,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51247,
    "c": 0.22154,
    "h": 313.6
  },
  "luminance": 0.11303
}

Semantic roles & 50–950 ramp

primary
#9228BD
secondary
#8ECB75
accent
#E84070
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9228BD

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

Preview Lab → · Contrast checker → · Palette generator →

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