#9225BA#9225BA

#9225BA is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.222 H 314.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9225BA
RGBrgb(146, 37, 186)
HSLhsl(284, 67%, 44%)
HSVhsv(284, 80%, 73%)
CMYKcmyk(21.5%, 80.1%, 0%, 27.1%)
CIE-LABlab(39.55, 64.64, -55.85)
CIE-LCHlch(39.55, 85.43, 319.18°)
OKLaboklab(50.8% 0.1557 -0.1578)
OKLCHoklch(50.8% 0.222 314.6)
XYZxyz(21.3771, 10.9801, 47.4382)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9225BA #4DBA25
analogous
#4825BA #9225BA #BA2597
triadic
#9225BA #BA9225 #25BA92
tetradic
#9225BA #BA4825 #4DBA25 #2597BA
square
#9225BA #BA4825 #4DBA25 #2597BA
split-complementary
#9225BA #97BA25 #25BA48
monochromatic
#421154 #6A1B87 #9225BA #B143DA #C676E4

Accessibility & contrast

On white

6.57
#9225BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9225BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9225BA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9225BA#FFFFFF#000000##FFFFFF
##9225BA1.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)
#0057BE
Deuteranopia (green-blind)
#1960B7
Tritanopia (blue-blind)
#8E4970
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9225ba;
/* rgb */ color: rgb(146, 37, 186);
/* oklch */ color: oklch(50.8% 0.222 314.6);
Tailwind
colors: {
  custom: {
    50: '#b76ed0',
    500: '#9225ba',
    950: '#000000',
  },
}
SCSS
$custom: #9225ba;
$custom-light: #b76ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9225ba",
  "rgb": {
    "r": 146,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 283.893,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.508,
    "c": 0.22168,
    "h": 314.6
  },
  "luminance": 0.10979
}

Semantic roles & 50–950 ramp

primary
#9225BA
secondary
#88CB70
accent
#EA3E6C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9225BA

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

Preview Lab → · Contrast checker → · Palette generator →

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