#9226AF#9226AF

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

Color values

HEX#9226AF
RGBrgb(146, 38, 175)
HSLhsl(287, 64%, 42%)
HSVhsv(287, 78%, 69%)
CMYKcmyk(16.6%, 78.3%, 0%, 31.4%)
CIE-LABlab(38.89, 62.21, -50.41)
CIE-LCHlch(38.89, 80.07, 320.99°)
OKLaboklab(50.09% 0.1567 -0.1419)
OKLCHoklch(50.09% 0.211 317.9)
XYZxyz(20.2839, 10.5933, 41.5254)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9226AF #43AF26
analogous
#4E26AF #9226AF #AF2688
triadic
#9226AF #AF9226 #26AF92
tetradic
#9226AF #AF4E26 #43AF26 #2688AF
square
#9226AF #AF4E26 #43AF26 #2688AF
split-complementary
#9226AF #88AF26 #26AF4E
monochromatic
#3E104A #681B7D #9226AF #B53DD5 #C870E0

Accessibility & contrast

On white

6.73
#9226AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9226AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9226AF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9226AF#FFFFFF#000000##FFFFFF
##9226AF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#2B5FAC
Tritanopia (blue-blind)
#91456A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9226af;
/* rgb */ color: rgb(146, 38, 175);
/* oklch */ color: oklch(50.1% 0.211 317.9);
Tailwind
colors: {
  custom: {
    50: '#b66dc8',
    500: '#9226af',
    950: '#000000',
  },
}
SCSS
$custom: #9226af;
$custom-light: #b66dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9226af",
  "rgb": {
    "r": 146,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 287.299,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50093,
    "c": 0.2114,
    "h": 317.9
  },
  "luminance": 0.10592
}

Semantic roles & 50–950 ramp

primary
#9226AF
secondary
#7EC76A
accent
#E74064
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9226AF

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

Preview Lab → · Contrast checker → · Palette generator →

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