#912EA8#912EA8

#912EA8 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.196 H 319.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#912EA8
RGBrgb(145, 46, 168)
HSLhsl(289, 57%, 42%)
HSVhsv(289, 73%, 66%)
CMYKcmyk(13.7%, 72.6%, 0%, 34.1%)
CIE-LABlab(39.24, 57.88, -45.67)
CIE-LCHlch(39.24, 73.73, 321.73°)
OKLaboklab(50.17% 0.149 -0.128)
OKLCHoklch(50.17% 0.196 319.3)
XYZxyz(19.7210, 10.8018, 38.0844)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EA8 #45A82E
analogous
#542EA8 #912EA8 #A82E82
triadic
#912EA8 #A8912E #2EA891
tetradic
#912EA8 #A8542E #45A82E #2E82A8
square
#912EA8 #A8542E #45A82E #2E82A8
split-complementary
#912EA8 #82A82E #2EA854
monochromatic
#3E1448 #682178 #912EA8 #B347CD #C777DA

Accessibility & contrast

On white

6.65
#912EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#912EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EA8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EA8#FFFFFF#000000##FFFFFF
##912EA81.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#3760A5
Tritanopia (blue-blind)
#914668
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #912ea8;
/* rgb */ color: rgb(145, 46, 168);
/* oklch */ color: oklch(50.2% 0.196 319.3);
Tailwind
colors: {
  custom: {
    50: '#b570c2',
    500: '#912ea8',
    950: '#000000',
  },
}
SCSS
$custom: #912ea8;
$custom-light: #b570c2;
$custom-dark: #000000;
JSON
{
  "hex": "#912ea8",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 288.689,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50169,
    "c": 0.19648,
    "h": 319.3
  },
  "luminance": 0.10801
}

Semantic roles & 50–950 ramp

primary
#912EA8
secondary
#80C270
accent
#E04864
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #912EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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