#9228AF#9228AF

#9228AF is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.209 H 317.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9228AF
RGBrgb(146, 40, 175)
HSLhsl(287, 63%, 42%)
HSVhsv(287, 77%, 69%)
CMYKcmyk(16.6%, 77.1%, 0%, 31.4%)
CIE-LABlab(39.11, 61.56, -50.04)
CIE-LCHlch(39.11, 79.34, 320.89°)
OKLaboklab(50.25% 0.1551 -0.1408)
OKLCHoklch(50.25% 0.209 317.8)
XYZxyz(20.3496, 10.7246, 41.5473)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9228AF #45AF28
analogous
#4E28AF #9228AF #AF2889
triadic
#9228AF #AF9228 #28AF92
tetradic
#9228AF #AF4E28 #45AF28 #2889AF
square
#9228AF #AF4E28 #45AF28 #2889AF
split-complementary
#9228AF #89AF28 #28AF4E
monochromatic
#3F114B #681D7D #9228AF #B441D4 #C873DF

Accessibility & contrast

On white

6.68
#9228AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9228AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9228AF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9228AF#FFFFFF#000000##FFFFFF
##9228AF1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#91466B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9228af;
/* rgb */ color: rgb(146, 40, 175);
/* oklch */ color: oklch(50.3% 0.209 317.8);
Tailwind
colors: {
  custom: {
    50: '#b66ec8',
    500: '#9228af',
    950: '#000000',
  },
}
SCSS
$custom: #9228af;
$custom-light: #b66ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#9228af",
  "rgb": {
    "r": 146,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 287.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50252,
    "c": 0.20945,
    "h": 317.8
  },
  "luminance": 0.10724
}

Semantic roles & 50–950 ramp

primary
#9228AF
secondary
#80C66D
accent
#E64265
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9228AF

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

Preview Lab → · Contrast checker → · Palette generator →

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