#912BAD#912BAD

#912BAD is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.2% C 0.204 H 317.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#912BAD
RGBrgb(145, 43, 173)
HSLhsl(287, 60%, 42%)
HSVhsv(287, 75%, 68%)
CMYKcmyk(16.2%, 75.1%, 0%, 32.2%)
CIE-LABlab(39.18, 59.95, -48.75)
CIE-LCHlch(39.18, 77.27, 320.88°)
OKLaboklab(50.23% 0.1514 -0.1371)
OKLCHoklch(50.23% 0.204 317.8)
XYZxyz(20.0827, 10.7655, 40.5472)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912BAD #47AD2B
analogous
#502BAD #912BAD #AD2B88
triadic
#912BAD #AD912B #2BAD91
tetradic
#912BAD #AD502B #47AD2B #2B88AD
square
#912BAD #AD502B #47AD2B #2B88AD
split-complementary
#912BAD #88AD2B #2BAD50
monochromatic
#3F134B #681F7C #912BAD #B245D1 #C776DD

Accessibility & contrast

On white

6.66
#912BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#912BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912BAD
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912BAD#FFFFFF#000000##FFFFFF
##912BAD1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#305FAA
Tritanopia (blue-blind)
#90466A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #912bad;
/* rgb */ color: rgb(145, 43, 173);
/* oklch */ color: oklch(50.2% 0.204 317.8);
Tailwind
colors: {
  custom: {
    50: '#b56fc6',
    500: '#912bad',
    950: '#000000',
  },
}
SCSS
$custom: #912bad;
$custom-light: #b56fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#912bad",
  "rgb": {
    "r": 145,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 287.077,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50228,
    "c": 0.20423,
    "h": 317.8
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#912BAD
secondary
#82C46F
accent
#E34467
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912BAD

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

Preview Lab → · Contrast checker → · Palette generator →

#912BAD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva