#912DB9#912DB9

#912DB9 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.213 H 314.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#912DB9
RGBrgb(145, 45, 185)
HSLhsl(283, 61%, 45%)
HSVhsv(283, 76%, 73%)
CMYKcmyk(21.6%, 75.7%, 0%, 27.5%)
CIE-LABlab(40.25, 61.60, -54.14)
CIE-LCHlch(40.25, 82.01, 318.69°)
OKLaboklab(51.24% 0.148 -0.1529)
OKLCHoklch(51.24% 0.213 314.1)
XYZxyz(21.3709, 11.4000, 46.9642)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DB9 #55B92D
analogous
#4B2DB9 #912DB9 #B92D9B
triadic
#912DB9 #B9912D #2DB991
tetradic
#912DB9 #B94B2D #55B92D #2D9BB9
square
#912DB9 #B94B2D #55B92D #2D9BB9
split-complementary
#912DB9 #9BB92D #2DB94B
monochromatic
#441557 #6A2188 #912DB9 #AE4FD4 #C580E0

Accessibility & contrast

On white

6.40
#912DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#912DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DB9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DB9#FFFFFF#000000##FFFFFF
##912DB91.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#2261B6
Tritanopia (blue-blind)
#8D4D72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912db9;
/* rgb */ color: rgb(145, 45, 185);
/* oklch */ color: oklch(51.2% 0.213 314.1);
Tailwind
colors: {
  custom: {
    50: '#b671cf',
    500: '#912db9',
    950: '#000000',
  },
}
SCSS
$custom: #912db9;
$custom-light: #b671cf;
$custom-dark: #000000;
JSON
{
  "hex": "#912db9",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 282.857,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51239,
    "c": 0.21275,
    "h": 314.1
  },
  "luminance": 0.11399
}

Semantic roles & 50–950 ramp

primary
#912DB9
secondary
#90C979
accent
#E44472
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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