#9218A0#9218A0

#9218A0 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.1% C 0.211 H 323.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9218A0
RGBrgb(146, 24, 160)
HSLhsl(294, 74%, 36%)
HSVhsv(294, 85%, 63%)
CMYKcmyk(8.8%, 85%, 0%, 37.3%)
CIE-LABlab(36.56, 63.34, -45.16)
CIE-LCHlch(36.56, 77.79, 324.51°)
OKLaboklab(48.14% 0.169 -0.1264)
OKLCHoklch(48.14% 0.211 323.2)
XYZxyz(18.5253, 9.3035, 34.0709)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9218A0 #26A018
analogous
#4E18A0 #9218A0 #A0186A
triadic
#9218A0 #A09218 #18A092
tetradic
#9218A0 #A04E18 #26A018 #186AA0
square
#9218A0 #A04E18 #26A018 #186AA0
split-complementary
#9218A0 #6AA018 #18A04E
monochromatic
#310836 #61106B #9218A0 #C320D5 #D54EE4

Accessibility & contrast

On white

7.34
#9218A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9218A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9218A0
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9218A0#FFFFFF#000000##FFFFFF
##9218A01.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#335A9D
Tritanopia (blue-blind)
#94375F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9218a0;
/* rgb */ color: rgb(146, 24, 160);
/* oklch */ color: oklch(48.1% 0.211 323.2);
Tailwind
colors: {
  custom: {
    50: '#b668bd',
    500: '#9218a0',
    950: '#000000',
  },
}
SCSS
$custom: #9218a0;
$custom-light: #b668bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9218a0",
  "rgb": {
    "r": 146,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 293.824,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48136,
    "c": 0.21103,
    "h": 323.2
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#9218A0
secondary
#5AC64D
accent
#F1374A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #9218A0

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

Preview Lab → · Contrast checker → · Palette generator →

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