#912EA3#912EA3

#912EA3 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.192 H 321.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#912EA3
RGBrgb(145, 46, 163)
HSLhsl(291, 56%, 41%)
HSVhsv(291, 72%, 64%)
CMYKcmyk(11%, 71.8%, 0%, 36.1%)
CIE-LABlab(38.93, 56.93, -43.17)
CIE-LCHlch(38.93, 71.45, 322.82°)
OKLaboklab(49.85% 0.1494 -0.1208)
OKLCHoklch(49.85% 0.192 321)
XYZxyz(19.2642, 10.6191, 35.6782)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EA3 #40A32E
analogous
#562EA3 #912EA3 #A32E7A
triadic
#912EA3 #A3912E #2EA391
tetradic
#912EA3 #A3562E #40A32E #2E7AA3
square
#912EA3 #A3562E #40A32E #2E7AA3
split-complementary
#912EA3 #7AA32E #2EA356
monochromatic
#3C1344 #672173 #912EA3 #B644CA #C874D8

Accessibility & contrast

On white

6.72
#912EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#912EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EA3
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EA3#FFFFFF#000000##FFFFFF
##912EA31.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#3B5FA0
Tritanopia (blue-blind)
#924466
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #912ea3;
/* rgb */ color: rgb(145, 46, 163);
/* oklch */ color: oklch(49.8% 0.192 321.0);
Tailwind
colors: {
  custom: {
    50: '#b570bf',
    500: '#912ea3',
    950: '#000000',
  },
}
SCSS
$custom: #912ea3;
$custom-light: #b570bf;
$custom-dark: #000000;
JSON
{
  "hex": "#912ea3",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 290.769,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49845,
    "c": 0.19207,
    "h": 321
  },
  "luminance": 0.10618
}

Semantic roles & 50–950 ramp

primary
#912EA3
secondary
#7ABF6D
accent
#DF4960
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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