#912DB1#912DB1

#912DB1 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.206 H 316.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#912DB1
RGBrgb(145, 45, 177)
HSLhsl(285, 59%, 44%)
HSVhsv(285, 75%, 69%)
CMYKcmyk(18.1%, 74.6%, 0%, 30.6%)
CIE-LABlab(39.70, 60.01, -50.29)
CIE-LCHlch(39.70, 78.29, 320.03°)
OKLaboklab(50.68% 0.1491 -0.1416)
OKLCHoklch(50.68% 0.206 316.5)
XYZxyz(20.5500, 11.0717, 42.6410)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DB1 #4DB12D
analogous
#4F2DB1 #912DB1 #B12D8F
triadic
#912DB1 #B1912D #2DB191
tetradic
#912DB1 #B14F2D #4DB12D #2D8FB1
square
#912DB1 #B14F2D #4DB12D #2D8FB1
split-complementary
#912DB1 #8FB12D #2DB14F
monochromatic
#41144F #692180 #912DB1 #B04AD1 #C67BDD

Accessibility & contrast

On white

6.53
#912DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#912DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DB1
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DB1#FFFFFF#000000##FFFFFF
##912DB11.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#2D60AE
Tritanopia (blue-blind)
#8F496D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912db1;
/* rgb */ color: rgb(145, 45, 177);
/* oklch */ color: oklch(50.7% 0.206 316.5);
Tailwind
colors: {
  custom: {
    50: '#b570c9',
    500: '#912db1',
    950: '#000000',
  },
}
SCSS
$custom: #912db1;
$custom-light: #b570c9;
$custom-dark: #000000;
JSON
{
  "hex": "#912db1",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 285.455,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5068,
    "c": 0.2056,
    "h": 316.5
  },
  "luminance": 0.11071
}

Semantic roles & 50–950 ramp

primary
#912DB1
secondary
#88C674
accent
#E3456B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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