#9229BC#9229BC

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

Color values

HEX#9229BC
RGBrgb(146, 41, 188)
HSLhsl(283, 64%, 45%)
HSVhsv(283, 78%, 74%)
CMYKcmyk(22.3%, 78.2%, 0%, 26.3%)
CIE-LABlab(40.13, 63.77, -56.08)
CIE-LCHlch(40.13, 84.92, 318.67°)
OKLaboklab(51.25% 0.1521 -0.1585)
OKLCHoklch(51.25% 0.22 313.8)
XYZxyz(21.7225, 11.3284, 48.6095)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9229BC #53BC29
analogous
#4829BC #9229BC #BC299D
triadic
#9229BC #BC9229 #29BC92
tetradic
#9229BC #BC4829 #53BC29 #299DBC
square
#9229BC #BC4829 #53BC29 #299DBC
split-complementary
#9229BC #9DBC29 #29BC48
monochromatic
#441358 #6B1E8A #9229BC #AF4BD8 #C67DE3

Accessibility & contrast

On white

6.43
#9229BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9229BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9229BC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9229BC#FFFFFF#000000##FFFFFF
##9229BC1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#1A61B9
Tritanopia (blue-blind)
#8E4C72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9229bc;
/* rgb */ color: rgb(146, 41, 188);
/* oklch */ color: oklch(51.3% 0.220 313.8);
Tailwind
colors: {
  custom: {
    50: '#b76fd1',
    500: '#9229bc',
    950: '#000000',
  },
}
SCSS
$custom: #9229bc;
$custom-light: #b76fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9229bc",
  "rgb": {
    "r": 146,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 282.857,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51253,
    "c": 0.21973,
    "h": 313.8
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

primary
#9229BC
secondary
#8ECB76
accent
#E74170
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9229BC

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

Preview Lab → · Contrast checker → · Palette generator →

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