#9227BF#9227BF

#9227BF is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.3% C 0.224 H 313.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9227BF
RGBrgb(146, 39, 191)
HSLhsl(282, 66%, 45%)
HSVhsv(282, 80%, 75%)
CMYKcmyk(23.6%, 79.6%, 0%, 25.1%)
CIE-LABlab(40.12, 65.01, -57.86)
CIE-LCHlch(40.12, 87.02, 318.33°)
OKLaboklab(51.32% 0.1531 -0.1637)
OKLCHoklch(51.32% 0.224 313.1)
XYZxyz(21.9819, 11.3243, 50.3080)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9227BF #54BF27
analogous
#4627BF #9227BF #BF27A0
triadic
#9227BF #BF9227 #27BF92
tetradic
#9227BF #BF4627 #54BF27 #27A0BF
square
#9227BF #BF4627 #54BF27 #27A0BF
split-complementary
#9227BF #A0BF27 #27BF46
monochromatic
#441259 #6B1D8C #9227BF #AF49DA #C57CE4

Accessibility & contrast

On white

6.43
#9227BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9227BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9227BF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9227BF#FFFFFF#000000##FFFFFF
##9227BF1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0E61BC
Tritanopia (blue-blind)
#8D4D74
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9227bf;
/* rgb */ color: rgb(146, 39, 191);
/* oklch */ color: oklch(51.3% 0.224 313.1);
Tailwind
colors: {
  custom: {
    50: '#b76fd3',
    500: '#9227bf',
    950: '#000000',
  },
}
SCSS
$custom: #9227bf;
$custom-light: #b76fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9227bf",
  "rgb": {
    "r": 146,
    "g": 39,
    "b": 191
  },
  "hsl": {
    "h": 282.237,
    "s": 66.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51316,
    "c": 0.22419,
    "h": 313.1
  },
  "luminance": 0.11324
}

Semantic roles & 50–950 ramp

primary
#9227BF
secondary
#8FCC75
accent
#E93F71
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9227BF

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

Preview Lab → · Contrast checker → · Palette generator →

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