#9215B4#9215B4

#9215B4 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.4% C 0.228 H 317.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9215B4
RGBrgb(146, 21, 180)
HSLhsl(287, 79%, 39%)
HSVhsv(287, 88%, 71%)
CMYKcmyk(18.9%, 88.3%, 0%, 29.4%)
CIE-LABlab(37.74, 67.52, -55.23)
CIE-LCHlch(37.74, 87.23, 320.72°)
OKLaboklab(49.4% 0.167 -0.1559)
OKLCHoklch(49.4% 0.228 317)
XYZxyz(20.3592, 9.9435, 44.0180)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9215B4 #37B415
analogous
#4315B4 #9215B4 #B41587
triadic
#9215B4 #B49215 #15B492
tetradic
#9215B4 #B44315 #37B415 #1587B4
square
#9215B4 #B44315 #37B415 #1587B4
split-complementary
#9215B4 #87B415 #15B443
monochromatic
#390846 #660F7D #9215B4 #BB21E5 #CC58EC

Accessibility & contrast

On white

7.03
#9215B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9215B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9215B4
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9215B4#FFFFFF#000000##FFFFFF
##9215B41.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#165CB1
Tritanopia (blue-blind)
#90406A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9215b4;
/* rgb */ color: rgb(146, 21, 180);
/* oklch */ color: oklch(49.4% 0.228 317.0);
Tailwind
colors: {
  custom: {
    50: '#b768cb',
    500: '#9215b4',
    950: '#000000',
  },
}
SCSS
$custom: #9215b4;
$custom-light: #b768cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9215b4",
  "rgb": {
    "r": 146,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 287.17,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49401,
    "c": 0.22847,
    "h": 317
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#9215B4
secondary
#70CF56
accent
#F6325C
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #9215B4

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

Preview Lab → · Contrast checker → · Palette generator →

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