#9227BC#9227BC

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

Color values

HEX#9227BC
RGBrgb(146, 39, 188)
HSLhsl(283, 66%, 45%)
HSVhsv(283, 79%, 74%)
CMYKcmyk(22.3%, 79.3%, 0%, 26.3%)
CIE-LABlab(39.90, 64.41, -56.45)
CIE-LCHlch(39.90, 85.65, 318.77°)
OKLaboklab(51.1% 0.1537 -0.1596)
OKLCHoklch(51.1% 0.222 313.9)
XYZxyz(21.6551, 11.1936, 48.5871)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9227BC #51BC27
analogous
#4727BC #9227BC #BC279C
triadic
#9227BC #BC9227 #27BC92
tetradic
#9227BC #BC4727 #51BC27 #279CBC
square
#9227BC #BC4727 #51BC27 #279CBC
split-complementary
#9227BC #9CBC27 #27BC47
monochromatic
#431257 #6B1C89 #9227BC #B047D9 #C67AE3

Accessibility & contrast

On white

6.48
#9227BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9227BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9227BC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9227BC#FFFFFF#000000##FFFFFF
##9227BC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#1760B9
Tritanopia (blue-blind)
#8E4B72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9227bc;
/* rgb */ color: rgb(146, 39, 188);
/* oklch */ color: oklch(51.1% 0.222 313.9);
Tailwind
colors: {
  custom: {
    50: '#b76ed1',
    500: '#9227bc',
    950: '#000000',
  },
}
SCSS
$custom: #9227bc;
$custom-light: #b76ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9227bc",
  "rgb": {
    "r": 146,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 283.087,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51096,
    "c": 0.2216,
    "h": 313.9
  },
  "luminance": 0.11193
}

Semantic roles & 50–950 ramp

primary
#9227BC
secondary
#8CCB73
accent
#E93F6F
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9227BC

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

Preview Lab → · Contrast checker → · Palette generator →

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