#912BB9#912BB9

#912BB9 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.215 H 314.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#912BB9
RGBrgb(145, 43, 185)
HSLhsl(283, 62%, 45%)
HSVhsv(283, 77%, 73%)
CMYKcmyk(21.6%, 76.8%, 0%, 27.5%)
CIE-LABlab(40.00, 62.31, -54.53)
CIE-LCHlch(40.00, 82.80, 318.81°)
OKLaboklab(51.07% 0.1497 -0.154)
OKLCHoklch(51.07% 0.215 314.2)
XYZxyz(21.2964, 11.2510, 46.9394)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912BB9 #53B92B
analogous
#4A2BB9 #912BB9 #B92B9A
triadic
#912BB9 #B9912B #2BB991
tetradic
#912BB9 #B94A2B #53B92B #2B9AB9
square
#912BB9 #B94A2B #53B92B #2B9AB9
split-complementary
#912BB9 #9AB92B #2BB94A
monochromatic
#431456 #6A1F87 #912BB9 #AF4CD5 #C57EE1

Accessibility & contrast

On white

6.46
#912BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#912BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912BB9
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912BB9#FFFFFF#000000##FFFFFF
##912BB91.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#2061B6
Tritanopia (blue-blind)
#8D4C71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912bb9;
/* rgb */ color: rgb(145, 43, 185);
/* oklch */ color: oklch(51.1% 0.215 314.2);
Tailwind
colors: {
  custom: {
    50: '#b670cf',
    500: '#912bb9',
    950: '#000000',
  },
}
SCSS
$custom: #912bb9;
$custom-light: #b670cf;
$custom-dark: #000000;
JSON
{
  "hex": "#912bb9",
  "rgb": {
    "r": 145,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 283.099,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51065,
    "c": 0.21481,
    "h": 314.2
  },
  "luminance": 0.1125
}

Semantic roles & 50–950 ramp

primary
#912BB9
secondary
#8EC976
accent
#E54270
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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