#9227BD#9227BD

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

Color values

HEX#9227BD
RGBrgb(146, 39, 189)
HSLhsl(283, 66%, 45%)
HSVhsv(283, 79%, 74%)
CMYKcmyk(22.8%, 79.4%, 0%, 25.9%)
CIE-LABlab(39.98, 64.61, -56.92)
CIE-LCHlch(39.98, 86.11, 318.62°)
OKLaboklab(51.17% 0.1535 -0.161)
OKLCHoklch(51.17% 0.222 313.6)
XYZxyz(21.7633, 11.2369, 49.1568)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9227BD #52BD27
analogous
#4727BD #9227BD #BD279D
triadic
#9227BD #BD9227 #27BD92
tetradic
#9227BD #BD4727 #52BD27 #279DBD
square
#9227BD #BD4727 #52BD27 #279DBD
split-complementary
#9227BD #9DBD27 #27BD47
monochromatic
#441258 #6B1D8A #9227BD #B048D9 #C67BE4

Accessibility & contrast

On white

6.47
#9227BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9227BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9227BD
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9227BD#FFFFFF#000000##FFFFFF
##9227BD1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9227bd;
/* rgb */ color: rgb(146, 39, 189);
/* oklch */ color: oklch(51.2% 0.222 313.6);
Tailwind
colors: {
  custom: {
    50: '#b76ed2',
    500: '#9227bd',
    950: '#000000',
  },
}
SCSS
$custom: #9227bd;
$custom-light: #b76ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9227bd",
  "rgb": {
    "r": 146,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 282.8,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.22246,
    "h": 313.6
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

primary
#9227BD
secondary
#8DCC74
accent
#E93F70
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9227BD

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

Preview Lab → · Contrast checker → · Palette generator →

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