#9223B2#9223B2

#9223B2 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.217 H 317.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9223B2
RGBrgb(146, 35, 178)
HSLhsl(287, 67%, 42%)
HSVhsv(287, 80%, 70%)
CMYKcmyk(18%, 80.3%, 0%, 30.2%)
CIE-LABlab(38.77, 63.71, -52.37)
CIE-LCHlch(38.77, 82.47, 320.58°)
OKLaboklab(50.08% 0.1586 -0.1476)
OKLCHoklch(50.08% 0.217 317.1)
XYZxyz(20.4898, 10.5283, 43.0637)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9223B2 #43B223
analogous
#4A23B2 #9223B2 #B2238B
triadic
#9223B2 #B29223 #23B292
tetradic
#9223B2 #B24A23 #43B223 #238BB2
square
#9223B2 #B24A23 #43B223 #238BB2
split-complementary
#9223B2 #8BB223 #23B24A
monochromatic
#3E0F4C #68197F #9223B2 #B53AD8 #C86DE2

Accessibility & contrast

On white

6.76
#9223B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9223B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9223B2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9223B2#FFFFFF#000000##FFFFFF
##9223B21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#255EAF
Tritanopia (blue-blind)
#90456B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9223b2;
/* rgb */ color: rgb(146, 35, 178);
/* oklch */ color: oklch(50.1% 0.217 317.1);
Tailwind
colors: {
  custom: {
    50: '#b66cca',
    500: '#9223b2',
    950: '#000000',
  },
}
SCSS
$custom: #9223b2;
$custom-light: #b66cca;
$custom-dark: #000000;
JSON
{
  "hex": "#9223b2",
  "rgb": {
    "r": 146,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 286.573,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.21669,
    "h": 317.1
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#9223B2
secondary
#7EC968
accent
#EA3E64
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9223B2

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

Preview Lab → · Contrast checker → · Palette generator →

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