#912DA4#912DA4

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

Color values

HEX#912DA4
RGBrgb(145, 45, 164)
HSLhsl(290, 57%, 41%)
HSVhsv(290, 73%, 64%)
CMYKcmyk(11.6%, 72.6%, 0%, 35.7%)
CIE-LABlab(38.86, 57.50, -43.89)
CIE-LCHlch(38.86, 72.33, 322.65°)
OKLaboklab(49.81% 0.1503 -0.1228)
OKLCHoklch(49.81% 0.194 320.7)
XYZxyz(19.3155, 10.5779, 36.1391)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DA4 #40A42D
analogous
#552DA4 #912DA4 #A42D7B
triadic
#912DA4 #A4912D #2DA491
tetradic
#912DA4 #A4552D #40A42D #2D7BA4
square
#912DA4 #A4552D #40A42D #2D7BA4
split-complementary
#912DA4 #7BA42D #2DA455
monochromatic
#3C1344 #672074 #912DA4 #B643CB #C873D9

Accessibility & contrast

On white

6.74
#912DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #912DA4
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DA4#FFFFFF#000000##FFFFFF
##912DA41.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #912da4;
/* rgb */ color: rgb(145, 45, 164);
/* oklch */ color: oklch(49.8% 0.194 320.7);
Tailwind
colors: {
  custom: {
    50: '#b570bf',
    500: '#912da4',
    950: '#000000',
  },
}
SCSS
$custom: #912da4;
$custom-light: #b570bf;
$custom-dark: #000000;
JSON
{
  "hex": "#912da4",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 290.42,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49814,
    "c": 0.19412,
    "h": 320.7
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#912DA4
secondary
#7AC06D
accent
#E04860
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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