#9229BD#9229BD

#9229BD is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.221 H 313.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9229BD
RGBrgb(146, 41, 189)
HSLhsl(283, 64%, 45%)
HSVhsv(283, 78%, 74%)
CMYKcmyk(22.8%, 78.3%, 0%, 25.9%)
CIE-LABlab(40.20, 63.97, -56.56)
CIE-LCHlch(40.20, 85.38, 318.52°)
OKLaboklab(51.33% 0.152 -0.1599)
OKLCHoklch(51.33% 0.221 313.5)
XYZxyz(21.8307, 11.3717, 49.1792)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9229BD #54BD29
analogous
#4829BD #9229BD #BD299E
triadic
#9229BD #BD9229 #29BD92
tetradic
#9229BD #BD4829 #54BD29 #299EBD
square
#9229BD #BD4829 #54BD29 #299EBD
split-complementary
#9229BD #9EBD29 #29BD48
monochromatic
#441358 #6B1E8B #9229BD #AF4BD8 #C57DE3

Accessibility & contrast

On white

6.41
#9229BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9229BD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9229BD#FFFFFF#000000##FFFFFF
##9229BD1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9229bd;
/* rgb */ color: rgb(146, 41, 189);
/* oklch */ color: oklch(51.3% 0.221 313.5);
Tailwind
colors: {
  custom: {
    50: '#b76fd2',
    500: '#9229bd',
    950: '#000000',
  },
}
SCSS
$custom: #9229bd;
$custom-light: #b76fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9229bd",
  "rgb": {
    "r": 146,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 282.568,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51326,
    "c": 0.2206,
    "h": 313.5
  },
  "luminance": 0.11371
}

Semantic roles & 50–950 ramp

primary
#9229BD
secondary
#8FCB77
accent
#E74071
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9229BD

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

Preview Lab → · Contrast checker → · Palette generator →

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