#9228A7#9228A7

#9228A7 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.203 H 320.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9228A7
RGBrgb(146, 40, 167)
HSLhsl(290, 61%, 41%)
HSVhsv(290, 76%, 65%)
CMYKcmyk(12.6%, 76%, 0%, 34.5%)
CIE-LABlab(38.59, 60.05, -46.12)
CIE-LCHlch(38.59, 75.72, 322.48°)
OKLaboklab(49.71% 0.156 -0.1293)
OKLCHoklch(49.71% 0.203 320.3)
XYZxyz(19.5871, 10.4196, 37.5312)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9228A7 #3DA728
analogous
#5228A7 #9228A7 #A7287C
triadic
#9228A7 #A79228 #28A792
tetradic
#9228A7 #A75228 #3DA728 #287CA7
square
#9228A7 #A75228 #3DA728 #287CA7
split-complementary
#9228A7 #7CA728 #28A752
monochromatic
#3C1044 #671C76 #9228A7 #B83CD0 #CA6DDC

Accessibility & contrast

On white

6.81
#9228A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9228A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9228A7
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9228A7#FFFFFF#000000##FFFFFF
##9228A71.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#355EA4
Tritanopia (blue-blind)
#934266
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9228a7;
/* rgb */ color: rgb(146, 40, 167);
/* oklch */ color: oklch(49.7% 0.203 320.3);
Tailwind
colors: {
  custom: {
    50: '#b66ec2',
    500: '#9228a7',
    950: '#000000',
  },
}
SCSS
$custom: #9228a7;
$custom-light: #b66ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9228a7",
  "rgb": {
    "r": 146,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 290.079,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49711,
    "c": 0.20263,
    "h": 320.3
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

primary
#9228A7
secondary
#77C368
accent
#E4435E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9228A7

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

Preview Lab → · Contrast checker → · Palette generator →

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