#912EA5#912EA5

#912EA5 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.194 H 320.3°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#912EA5
RGBrgb(145, 46, 165)
HSLhsl(290, 56%, 41%)
HSVhsv(290, 72%, 65%)
CMYKcmyk(12.1%, 72.1%, 0%, 35.3%)
CIE-LABlab(39.06, 57.31, -44.17)
CIE-LCHlch(39.06, 72.36, 322.37°)
OKLaboklab(49.97% 0.1492 -0.1237)
OKLCHoklch(49.97% 0.194 320.3)
XYZxyz(19.4448, 10.6913, 36.6294)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EA5 #42A52E
analogous
#562EA5 #912EA5 #A52E7E
triadic
#912EA5 #A5912E #2EA591
tetradic
#912EA5 #A5562E #42A52E #2E7EA5
square
#912EA5 #A5562E #42A52E #2E7EA5
split-complementary
#912EA5 #7EA52E #2EA556
monochromatic
#3D1345 #672175 #912EA5 #B545CB #C875D8

Accessibility & contrast

On white

6.69
#912EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#912EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EA5
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EA5#FFFFFF#000000##FFFFFF
##912EA51.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#3A5FA2
Tritanopia (blue-blind)
#924567
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #912ea5;
/* rgb */ color: rgb(145, 46, 165);
/* oklch */ color: oklch(50.0% 0.194 320.3);
Tailwind
colors: {
  custom: {
    50: '#b570c0',
    500: '#912ea5',
    950: '#000000',
  },
}
SCSS
$custom: #912ea5;
$custom-light: #b570c0;
$custom-dark: #000000;
JSON
{
  "hex": "#912ea5",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 289.916,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49973,
    "c": 0.19383,
    "h": 320.3
  },
  "luminance": 0.1069
}

Semantic roles & 50–950 ramp

primary
#912EA5
secondary
#7CC06F
accent
#E04862
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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