#9225B2#9225B2

#9225B2 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.215 H 317.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9225B2
RGBrgb(146, 37, 178)
HSLhsl(286, 66%, 42%)
HSVhsv(286, 79%, 70%)
CMYKcmyk(18%, 79.2%, 0%, 30.2%)
CIE-LABlab(38.98, 63.10, -52.03)
CIE-LCHlch(38.98, 81.79, 320.49°)
OKLaboklab(50.23% 0.1571 -0.1466)
OKLCHoklch(50.23% 0.215 317)
XYZxyz(20.5503, 10.6494, 43.0839)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9225B2 #45B225
analogous
#4C25B2 #9225B2 #B2258C
triadic
#9225B2 #B29225 #25B292
tetradic
#9225B2 #B24C25 #45B225 #258CB2
square
#9225B2 #B24C25 #45B225 #258CB2
split-complementary
#9225B2 #8CB225 #25B24C
monochromatic
#3F104D #681A7F #9225B2 #B43DD7 #C870E1

Accessibility & contrast

On white

6.71
#9225B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9225B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9225B2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9225B2#FFFFFF#000000##FFFFFF
##9225B21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#275FAF
Tritanopia (blue-blind)
#90466C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9225b2;
/* rgb */ color: rgb(146, 37, 178);
/* oklch */ color: oklch(50.2% 0.215 317.0);
Tailwind
colors: {
  custom: {
    50: '#b66dca',
    500: '#9225b2',
    950: '#000000',
  },
}
SCSS
$custom: #9225b2;
$custom-light: #b66dca;
$custom-dark: #000000;
JSON
{
  "hex": "#9225b2",
  "rgb": {
    "r": 146,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 286.383,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50226,
    "c": 0.21488,
    "h": 317
  },
  "luminance": 0.10648
}

Semantic roles & 50–950 ramp

primary
#9225B2
secondary
#80C86B
accent
#E93F66
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9225B2

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

Preview Lab → · Contrast checker → · Palette generator →

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