#912EAA#912EAA

#912EAA is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.198 H 318.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#912EAA
RGBrgb(145, 46, 170)
HSLhsl(288, 57%, 42%)
HSVhsv(288, 73%, 67%)
CMYKcmyk(14.7%, 72.9%, 0%, 33.3%)
CIE-LABlab(39.37, 58.27, -46.66)
CIE-LCHlch(39.37, 74.65, 321.32°)
OKLaboklab(50.3% 0.1489 -0.1309)
OKLCHoklch(50.3% 0.198 318.7)
XYZxyz(19.9088, 10.8769, 39.0732)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EAA #47AA2E
analogous
#532EAA #912EAA #AA2E85
triadic
#912EAA #AA912E #2EAA91
tetradic
#912EAA #AA532E #47AA2E #2E85AA
square
#912EAA #AA532E #47AA2E #2E85AA
split-complementary
#912EAA #85AA2E #2EAA53
monochromatic
#3F144A #68217A #912EAA #B248CD #C778DA

Accessibility & contrast

On white

6.61
#912EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#912EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EAA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EAA#FFFFFF#000000##FFFFFF
##912EAA1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#3560A7
Tritanopia (blue-blind)
#914769
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #912eaa;
/* rgb */ color: rgb(145, 46, 170);
/* oklch */ color: oklch(50.3% 0.198 318.7);
Tailwind
colors: {
  custom: {
    50: '#b571c4',
    500: '#912eaa',
    950: '#000000',
  },
}
SCSS
$custom: #912eaa;
$custom-light: #b571c4;
$custom-dark: #000000;
JSON
{
  "hex": "#912eaa",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 287.903,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50301,
    "c": 0.19825,
    "h": 318.7
  },
  "luminance": 0.10876
}

Semantic roles & 50–950 ramp

primary
#912EAA
secondary
#82C371
accent
#E14766
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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