#9228C3#9228C3

#9228C3 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.227 H 311.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9228C3
RGBrgb(146, 40, 195)
HSLhsl(281, 66%, 46%)
HSVhsv(281, 79%, 76%)
CMYKcmyk(25.1%, 79.5%, 0%, 23.5%)
CIE-LABlab(40.52, 65.49, -59.54)
CIE-LCHlch(40.52, 88.51, 317.72°)
OKLaboklab(51.69% 0.1515 -0.1687)
OKLCHoklch(51.69% 0.227 311.9)
XYZxyz(22.4613, 11.5693, 52.6691)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9228C3 #59C328
analogous
#4428C3 #9228C3 #C328A6
triadic
#9228C3 #C39228 #28C392
tetradic
#9228C3 #C34428 #59C328 #28A6C3
square
#9228C3 #C34428 #59C328 #28A6C3
split-complementary
#9228C3 #A6C328 #28C344
monochromatic
#46135D #6C1E90 #9228C3 #AE4EDB #C580E5

Accessibility & contrast

On white

6.34
#9228C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9228C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9228C3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9228C3#FFFFFF#000000##FFFFFF
##9228C31.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#8C4F76
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9228c3;
/* rgb */ color: rgb(146, 40, 195);
/* oklch */ color: oklch(51.7% 0.227 311.9);
Tailwind
colors: {
  custom: {
    50: '#b76fd6',
    500: '#9228c3',
    950: '#000000',
  },
}
SCSS
$custom: #9228c3;
$custom-light: #b76fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#9228c3",
  "rgb": {
    "r": 146,
    "g": 40,
    "b": 195
  },
  "hsl": {
    "h": 281.032,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.22677,
    "h": 311.9
  },
  "luminance": 0.11569
}

Semantic roles & 50–950 ramp

primary
#9228C3
secondary
#94CE79
accent
#E93F75
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9228C3

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

Preview Lab → · Contrast checker → · Palette generator →

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