#9228B5#9228B5

#9228B5 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.215 H 315.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9228B5
RGBrgb(146, 40, 181)
HSLhsl(285, 64%, 43%)
HSVhsv(285, 78%, 71%)
CMYKcmyk(19.3%, 77.9%, 0%, 29%)
CIE-LABlab(39.52, 62.72, -52.94)
CIE-LCHlch(39.52, 82.07, 319.83°)
OKLaboklab(50.67% 0.1542 -0.1493)
OKLCHoklch(50.67% 0.215 315.9)
XYZxyz(20.9520, 10.9656, 44.7200)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9228B5 #4BB528
analogous
#4B28B5 #9228B5 #B52891
triadic
#9228B5 #B59228 #28B592
tetradic
#9228B5 #B54B28 #4BB528 #2891B5
square
#9228B5 #B54B28 #4BB528 #2891B5
split-complementary
#9228B5 #91B528 #28B54B
monochromatic
#411251 #6A1D83 #9228B5 #B244D6 #C677E1

Accessibility & contrast

On white

6.58
#9228B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9228B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9228B5
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9228B5#FFFFFF#000000##FFFFFF
##9228B51.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#2560B2
Tritanopia (blue-blind)
#8F486E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9228b5;
/* rgb */ color: rgb(146, 40, 181);
/* oklch */ color: oklch(50.7% 0.215 315.9);
Tailwind
colors: {
  custom: {
    50: '#b66fcc',
    500: '#9228b5',
    950: '#000000',
  },
}
SCSS
$custom: #9228b5;
$custom-light: #b66fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#9228b5",
  "rgb": {
    "r": 146,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 285.106,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50671,
    "c": 0.21461,
    "h": 315.9
  },
  "luminance": 0.10965
}

Semantic roles & 50–950 ramp

primary
#9228B5
secondary
#86C870
accent
#E7416A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9228B5

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

Preview Lab → · Contrast checker → · Palette generator →

#9228B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva