#9226BA#9226BA

#9226BA is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.9% C 0.221 H 314.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9226BA
RGBrgb(146, 38, 186)
HSLhsl(284, 66%, 44%)
HSVhsv(284, 80%, 73%)
CMYKcmyk(21.5%, 79.6%, 0%, 27.1%)
CIE-LABlab(39.65, 64.33, -55.68)
CIE-LCHlch(39.65, 85.08, 319.13°)
OKLaboklab(50.87% 0.1549 -0.1573)
OKLCHoklch(50.87% 0.221 314.6)
XYZxyz(21.4086, 11.0432, 47.4487)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9226BA #4EBA26
analogous
#4826BA #9226BA #BA2698
triadic
#9226BA #BA9226 #26BA92
tetradic
#9226BA #BA4826 #4EBA26 #2698BA
square
#9226BA #BA4826 #4EBA26 #2698BA
split-complementary
#9226BA #98BA26 #26BA48
monochromatic
#421154 #6A1C87 #9226BA #B144D9 #C677E3

Accessibility & contrast

On white

6.55
#9226BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9226BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9226BA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9226BA#FFFFFF#000000##FFFFFF
##9226BA1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#1A60B7
Tritanopia (blue-blind)
#8E4A71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9226ba;
/* rgb */ color: rgb(146, 38, 186);
/* oklch */ color: oklch(50.9% 0.221 314.6);
Tailwind
colors: {
  custom: {
    50: '#b76ed0',
    500: '#9226ba',
    950: '#000000',
  },
}
SCSS
$custom: #9226ba;
$custom-light: #b76ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9226ba",
  "rgb": {
    "r": 146,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 283.784,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50874,
    "c": 0.22078,
    "h": 314.6
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#9226BA
secondary
#89CB71
accent
#E93F6D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9226BA

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

Preview Lab → · Contrast checker → · Palette generator →

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