#9227AD#9227AD

#9227AD is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.209 H 318.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9227AD
RGBrgb(146, 39, 173)
HSLhsl(288, 63%, 42%)
HSVhsv(288, 77%, 68%)
CMYKcmyk(15.6%, 77.5%, 0%, 32.2%)
CIE-LABlab(38.86, 61.51, -49.25)
CIE-LCHlch(38.86, 78.80, 321.32°)
OKLaboklab(50.03% 0.1562 -0.1385)
OKLCHoklch(50.03% 0.209 318.4)
XYZxyz(20.1214, 10.5801, 40.5093)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9227AD #42AD27
analogous
#4F27AD #9227AD #AD2785
triadic
#9227AD #AD9227 #27AD92
tetradic
#9227AD #AD4F27 #42AD27 #2785AD
square
#9227AD #AD4F27 #42AD27 #2785AD
split-complementary
#9227AD #85AD27 #27AD4F
monochromatic
#3E1049 #681C7B #9227AD #B53ED3 #C870DF

Accessibility & contrast

On white

6.74
#9227AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9227AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9227AD
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9227AD#FFFFFF#000000##FFFFFF
##9227AD1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9227ad;
/* rgb */ color: rgb(146, 39, 173);
/* oklch */ color: oklch(50.0% 0.209 318.4);
Tailwind
colors: {
  custom: {
    50: '#b66ec6',
    500: '#9227ad',
    950: '#000000',
  },
}
SCSS
$custom: #9227ad;
$custom-light: #b66ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#9227ad",
  "rgb": {
    "r": 146,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 287.91,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50034,
    "c": 0.20873,
    "h": 318.4
  },
  "luminance": 0.10579
}

Semantic roles & 50–950 ramp

primary
#9227AD
secondary
#7DC66A
accent
#E64263
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9227AD

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

Preview Lab → · Contrast checker → · Palette generator →

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