#912DA9#912DA9

#912DA9 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.199 H 319.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#912DA9
RGBrgb(145, 45, 169)
HSLhsl(288, 58%, 42%)
HSVhsv(288, 73%, 66%)
CMYKcmyk(14.2%, 73.4%, 0%, 33.7%)
CIE-LABlab(39.18, 58.45, -46.37)
CIE-LCHlch(39.18, 74.61, 321.57°)
OKLaboklab(50.14% 0.1499 -0.1301)
OKLCHoklch(50.14% 0.199 319)
XYZxyz(19.7759, 10.7620, 38.5640)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DA9 #45A92D
analogous
#532DA9 #912DA9 #A92D83
triadic
#912DA9 #A9912D #2DA991
tetradic
#912DA9 #A9532D #45A92D #2D83A9
square
#912DA9 #A9532D #45A92D #2D83A9
split-complementary
#912DA9 #83A92D #2DA953
monochromatic
#3E1348 #682079 #912DA9 #B346CE #C776DA

Accessibility & contrast

On white

6.66
#912DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #912DA9
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DA9#FFFFFF#000000##FFFFFF
##912DA91.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#3560A6
Tritanopia (blue-blind)
#914669
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #912da9;
/* rgb */ color: rgb(145, 45, 169);
/* oklch */ color: oklch(50.1% 0.199 319.0);
Tailwind
colors: {
  custom: {
    50: '#b570c3',
    500: '#912da9',
    950: '#000000',
  },
}
SCSS
$custom: #912da9;
$custom-light: #b570c3;
$custom-dark: #000000;
JSON
{
  "hex": "#912da9",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 288.387,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50141,
    "c": 0.19851,
    "h": 319
  },
  "luminance": 0.10761
}

Semantic roles & 50–950 ramp

primary
#912DA9
secondary
#80C26F
accent
#E14765
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #912DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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