#9229B4#9229B4

#9229B4 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.213 H 316.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9229B4
RGBrgb(146, 41, 180)
HSLhsl(285, 63%, 43%)
HSVhsv(285, 77%, 71%)
CMYKcmyk(18.9%, 77.2%, 0%, 29.4%)
CIE-LABlab(39.57, 62.19, -52.27)
CIE-LCHlch(39.57, 81.24, 319.95°)
OKLaboklab(50.68% 0.1535 -0.1473)
OKLCHoklch(50.68% 0.213 316.2)
XYZxyz(20.8839, 10.9930, 44.1930)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9229B4 #4BB429
analogous
#4C29B4 #9229B4 #B42990
triadic
#9229B4 #B49229 #29B492
tetradic
#9229B4 #B44C29 #4BB429 #2990B4
square
#9229B4 #B44C29 #4BB429 #2990B4
split-complementary
#9229B4 #90B429 #29B44C
monochromatic
#411250 #6A1E82 #9229B4 #B245D5 #C677E0

Accessibility & contrast

On white

6.57
#9229B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9229B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9229B4
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9229B4#FFFFFF#000000##FFFFFF
##9229B41.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#2760B1
Tritanopia (blue-blind)
#90486E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9229b4;
/* rgb */ color: rgb(146, 41, 180);
/* oklch */ color: oklch(50.7% 0.213 316.2);
Tailwind
colors: {
  custom: {
    50: '#b66fcb',
    500: '#9229b4',
    950: '#000000',
  },
}
SCSS
$custom: #9229b4;
$custom-light: #b66fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#9229b4",
  "rgb": {
    "r": 146,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 285.324,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50682,
    "c": 0.21276,
    "h": 316.2
  },
  "luminance": 0.10992
}

Semantic roles & 50–950 ramp

primary
#9229B4
secondary
#86C871
accent
#E6426A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9229B4

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

Preview Lab → · Contrast checker → · Palette generator →

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