#9226AE#9226AE

#9226AE is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.211 H 318.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9226AE
RGBrgb(146, 38, 174)
HSLhsl(288, 64%, 42%)
HSVhsv(288, 78%, 68%)
CMYKcmyk(16.1%, 78.2%, 0%, 31.8%)
CIE-LABlab(38.82, 62.02, -49.92)
CIE-LCHlch(38.82, 79.62, 321.17°)
OKLaboklab(50.02% 0.1569 -0.1404)
OKLCHoklch(50.02% 0.211 318.2)
XYZxyz(20.1861, 10.5542, 41.0101)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9226AE #42AE26
analogous
#4E26AE #9226AE #AE2686
triadic
#9226AE #AE9226 #26AE92
tetradic
#9226AE #AE4E26 #42AE26 #2686AE
square
#9226AE #AE4E26 #42AE26 #2686AE
split-complementary
#9226AE #86AE26 #26AE4E
monochromatic
#3E104A #681B7C #9226AE #B53DD5 #C86FE0

Accessibility & contrast

On white

6.75
#9226AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9226AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9226AE
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9226AE#FFFFFF#000000##FFFFFF
##9226AE1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#2D5FAB
Tritanopia (blue-blind)
#91446A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9226ae;
/* rgb */ color: rgb(146, 38, 174);
/* oklch */ color: oklch(50.0% 0.211 318.2);
Tailwind
colors: {
  custom: {
    50: '#b66dc7',
    500: '#9226ae',
    950: '#000000',
  },
}
SCSS
$custom: #9226ae;
$custom-light: #b66dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9226ae",
  "rgb": {
    "r": 146,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 287.647,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50023,
    "c": 0.21056,
    "h": 318.2
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#9226AE
secondary
#7DC66A
accent
#E74163
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9226AE

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

Preview Lab → · Contrast checker → · Palette generator →

#9226AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva