#9229BA#9229BA

#9229BA is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.218 H 314.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9229BA
RGBrgb(146, 41, 186)
HSLhsl(283, 64%, 45%)
HSVhsv(283, 78%, 73%)
CMYKcmyk(21.5%, 78%, 0%, 27.1%)
CIE-LABlab(39.99, 63.37, -55.14)
CIE-LCHlch(39.99, 84.00, 318.97°)
OKLaboklab(51.11% 0.1525 -0.1558)
OKLCHoklch(51.11% 0.218 314.4)
XYZxyz(21.5084, 11.2428, 47.4819)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9229BA #51BA29
analogous
#4929BA #9229BA #BA299A
triadic
#9229BA #BA9229 #29BA92
tetradic
#9229BA #BA4929 #51BA29 #299ABA
square
#9229BA #BA4929 #51BA29 #299ABA
split-complementary
#9229BA #9ABA29 #29BA49
monochromatic
#431356 #6B1E88 #9229BA #B049D7 #C67BE2

Accessibility & contrast

On white

6.46
#9229BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9229BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9229BA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9229BA#FFFFFF#000000##FFFFFF
##9229BA1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#1E61B7
Tritanopia (blue-blind)
#8E4B71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9229ba;
/* rgb */ color: rgb(146, 41, 186);
/* oklch */ color: oklch(51.1% 0.218 314.4);
Tailwind
colors: {
  custom: {
    50: '#b76fd0',
    500: '#9229ba',
    950: '#000000',
  },
}
SCSS
$custom: #9229ba;
$custom-light: #b76fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9229ba",
  "rgb": {
    "r": 146,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 283.448,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51109,
    "c": 0.21799,
    "h": 314.4
  },
  "luminance": 0.11242
}

Semantic roles & 50–950 ramp

primary
#9229BA
secondary
#8CCA75
accent
#E7416F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9229BA

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

Preview Lab → · Contrast checker → · Palette generator →

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