#9218B4#9218B4

#9218B4 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.5% C 0.227 H 316.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9218B4
RGBrgb(146, 24, 180)
HSLhsl(287, 76%, 40%)
HSVhsv(287, 87%, 71%)
CMYKcmyk(18.9%, 86.7%, 0%, 29.4%)
CIE-LABlab(37.95, 66.90, -54.89)
CIE-LCHlch(37.95, 86.54, 320.64°)
OKLaboklab(49.55% 0.1654 -0.1549)
OKLCHoklch(49.55% 0.227 316.9)
XYZxyz(20.4177, 10.0605, 44.0375)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9218B4 #3AB418
analogous
#4418B4 #9218B4 #B41888
triadic
#9218B4 #B49218 #18B492
tetradic
#9218B4 #B44418 #3AB418 #1888B4
square
#9218B4 #B44418 #3AB418 #1888B4
split-complementary
#9218B4 #88B418 #18B444
monochromatic
#3A0A48 #66117E #9218B4 #B927E2 #CB5DE9

Accessibility & contrast

On white

6.97
#9218B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9218B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9218B4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9218B4#FFFFFF#000000##FFFFFF
##9218B41.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#185DB1
Tritanopia (blue-blind)
#90416B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9218b4;
/* rgb */ color: rgb(146, 24, 180);
/* oklch */ color: oklch(49.5% 0.227 316.9);
Tailwind
colors: {
  custom: {
    50: '#b769cb',
    500: '#9218b4',
    950: '#000000',
  },
}
SCSS
$custom: #9218b4;
$custom-light: #b769cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9218b4",
  "rgb": {
    "r": 146,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 286.923,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.49547,
    "c": 0.22665,
    "h": 316.9
  },
  "luminance": 0.1006
}

Semantic roles & 50–950 ramp

primary
#9218B4
secondary
#74CD5B
accent
#F3355E
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #9218B4

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

Preview Lab → · Contrast checker → · Palette generator →

#9218B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva