#9226AD#9226AD

#9226AD is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.210 H 318.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9226AD
RGBrgb(146, 38, 173)
HSLhsl(288, 64%, 41%)
HSVhsv(288, 78%, 68%)
CMYKcmyk(15.6%, 78%, 0%, 32.2%)
CIE-LABlab(38.75, 61.84, -49.43)
CIE-LCHlch(38.75, 79.17, 321.36°)
OKLaboklab(49.95% 0.157 -0.139)
OKLCHoklch(49.95% 0.21 318.5)
XYZxyz(20.0890, 10.5153, 40.4985)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9226AD #41AD26
analogous
#4F26AD #9226AD #AD2685
triadic
#9226AD #AD9226 #26AD92
tetradic
#9226AD #AD4F26 #41AD26 #2685AD
square
#9226AD #AD4F26 #41AD26 #2685AD
split-complementary
#9226AD #85AD26 #26AD4F
monochromatic
#3D1049 #681B7B #9226AD #B63CD4 #C96EDF

Accessibility & contrast

On white

6.77
#9226AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9226AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9226AD
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9226AD#FFFFFF#000000##FFFFFF
##9226AD1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B1
Deuteranopia (green-blind)
#2E5FAA
Tritanopia (blue-blind)
#914469
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9226ad;
/* rgb */ color: rgb(146, 38, 173);
/* oklch */ color: oklch(50.0% 0.210 318.5);
Tailwind
colors: {
  custom: {
    50: '#b66dc6',
    500: '#9226ad',
    950: '#000000',
  },
}
SCSS
$custom: #9226ad;
$custom-light: #b66dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9226ad",
  "rgb": {
    "r": 146,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 288,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49954,
    "c": 0.20971,
    "h": 318.5
  },
  "luminance": 0.10514
}

Semantic roles & 50–950 ramp

primary
#9226AD
secondary
#7CC669
accent
#E74162
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9226AD

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

Preview Lab → · Contrast checker → · Palette generator →

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