#912EA4#912EA4

#912EA4 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.193 H 320.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#912EA4
RGBrgb(145, 46, 164)
HSLhsl(290, 56%, 41%)
HSVhsv(290, 72%, 64%)
CMYKcmyk(11.6%, 72%, 0%, 35.7%)
CIE-LABlab(38.99, 57.12, -43.67)
CIE-LCHlch(38.99, 71.90, 322.60°)
OKLaboklab(49.91% 0.1493 -0.1222)
OKLCHoklch(49.91% 0.193 320.7)
XYZxyz(19.3541, 10.6551, 36.1519)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EA4 #41A42E
analogous
#562EA4 #912EA4 #A42E7C
triadic
#912EA4 #A4912E #2EA491
tetradic
#912EA4 #A4562E #41A42E #2E7CA4
square
#912EA4 #A4562E #41A42E #2E7CA4
split-complementary
#912EA4 #7CA42E #2EA456
monochromatic
#3C1344 #672174 #912EA4 #B545CB #C874D8

Accessibility & contrast

On white

6.71
#912EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#912EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EA4
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EA4#FFFFFF#000000##FFFFFF
##912EA41.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #912ea4;
/* rgb */ color: rgb(145, 46, 164);
/* oklch */ color: oklch(49.9% 0.193 320.7);
Tailwind
colors: {
  custom: {
    50: '#b570bf',
    500: '#912ea4',
    950: '#000000',
  },
}
SCSS
$custom: #912ea4;
$custom-light: #b570bf;
$custom-dark: #000000;
JSON
{
  "hex": "#912ea4",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 290.339,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49909,
    "c": 0.19295,
    "h": 320.7
  },
  "luminance": 0.10654
}

Semantic roles & 50–950 ramp

primary
#912EA4
secondary
#7BC06E
accent
#DF4861
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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