#912EA6#912EA6

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

Color values

HEX#912EA6
RGBrgb(145, 46, 166)
HSLhsl(290, 57%, 42%)
HSVhsv(290, 72%, 65%)
CMYKcmyk(12.7%, 72.3%, 0%, 34.9%)
CIE-LABlab(39.12, 57.50, -44.67)
CIE-LCHlch(39.12, 72.81, 322.16°)
OKLaboklab(50.04% 0.1492 -0.1251)
OKLCHoklch(50.04% 0.195 320)
XYZxyz(19.5361, 10.7279, 37.1106)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EA6 #43A62E
analogous
#552EA6 #912EA6 #A62E7F
triadic
#912EA6 #A6912E #2EA691
tetradic
#912EA6 #A6552E #43A62E #2E7FA6
square
#912EA6 #A6552E #43A62E #2E7FA6
split-complementary
#912EA6 #7FA62E #2EA655
monochromatic
#3D1346 #672176 #912EA6 #B446CC #C876D9

Accessibility & contrast

On white

6.68
#912EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#912EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EA6
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EA6#FFFFFF#000000##FFFFFF
##912EA61.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#3960A3
Tritanopia (blue-blind)
#914567
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #912ea6;
/* rgb */ color: rgb(145, 46, 166);
/* oklch */ color: oklch(50.0% 0.195 320.0);
Tailwind
colors: {
  custom: {
    50: '#b570c1',
    500: '#912ea6',
    950: '#000000',
  },
}
SCSS
$custom: #912ea6;
$custom-light: #b570c1;
$custom-dark: #000000;
JSON
{
  "hex": "#912ea6",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 289.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50038,
    "c": 0.19472,
    "h": 320
  },
  "luminance": 0.10727
}

Semantic roles & 50–950 ramp

primary
#912EA6
secondary
#7DC16F
accent
#E04863
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #912EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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