#9228C0#9228C0

#9228C0 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.5% C 0.224 H 312.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9228C0
RGBrgb(146, 40, 192)
HSLhsl(282, 66%, 45%)
HSVhsv(282, 79%, 75%)
CMYKcmyk(24%, 79.2%, 0%, 24.7%)
CIE-LABlab(40.30, 64.89, -58.15)
CIE-LCHlch(40.30, 87.13, 318.14°)
OKLaboklab(51.47% 0.1522 -0.1646)
OKLCHoklch(51.47% 0.224 312.8)
XYZxyz(22.1256, 11.4350, 50.9006)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9228C0 #56C028
analogous
#4628C0 #9228C0 #C028A2
triadic
#9228C0 #C09228 #28C092
tetradic
#9228C0 #C04628 #56C028 #28A2C0
square
#9228C0 #C04628 #56C028 #28A2C0
split-complementary
#9228C0 #A2C028 #28C046
monochromatic
#45135B #6B1D8D #9228C0 #AF4CDA #C57EE4

Accessibility & contrast

On white

6.39
#9228C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9228C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9228C0
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9228C0#FFFFFF#000000##FFFFFF
##9228C01.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#0C61BD
Tritanopia (blue-blind)
#8D4D74
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9228c0;
/* rgb */ color: rgb(146, 40, 192);
/* oklch */ color: oklch(51.5% 0.224 312.8);
Tailwind
colors: {
  custom: {
    50: '#b76fd4',
    500: '#9228c0',
    950: '#000000',
  },
}
SCSS
$custom: #9228c0;
$custom-light: #b76fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#9228c0",
  "rgb": {
    "r": 146,
    "g": 40,
    "b": 192
  },
  "hsl": {
    "h": 281.842,
    "s": 65.517,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51467,
    "c": 0.22416,
    "h": 312.8
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

primary
#9228C0
secondary
#91CD77
accent
#E83F73
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9228C0

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

Preview Lab → · Contrast checker → · Palette generator →

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