#912DB7#912DB7

#912DB7 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.211 H 314.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#912DB7
RGBrgb(145, 45, 183)
HSLhsl(283, 61%, 45%)
HSVhsv(283, 75%, 72%)
CMYKcmyk(20.8%, 75.4%, 0%, 28.2%)
CIE-LABlab(40.11, 61.20, -53.18)
CIE-LCHlch(40.11, 81.08, 319.01°)
OKLaboklab(51.1% 0.1483 -0.1501)
OKLCHoklch(51.1% 0.211 314.7)
XYZxyz(21.1613, 11.3162, 45.8601)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DB7 #53B72D
analogous
#4C2DB7 #912DB7 #B72D98
triadic
#912DB7 #B7912D #2DB791
tetradic
#912DB7 #B74C2D #53B72D #2D98B7
square
#912DB7 #B74C2D #53B72D #2D98B7
split-complementary
#912DB7 #98B72D #2DB74C
monochromatic
#431555 #6A2186 #912DB7 #AF4ED3 #C57FDF

Accessibility & contrast

On white

6.44
#912DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#912DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DB7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DB7#FFFFFF#000000##FFFFFF
##912DB71.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#2561B4
Tritanopia (blue-blind)
#8E4C70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912db7;
/* rgb */ color: rgb(145, 45, 183);
/* oklch */ color: oklch(51.1% 0.211 314.7);
Tailwind
colors: {
  custom: {
    50: '#b671cd',
    500: '#912db7',
    950: '#000000',
  },
}
SCSS
$custom: #912db7;
$custom-light: #b671cd;
$custom-dark: #000000;
JSON
{
  "hex": "#912db7",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 283.478,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51098,
    "c": 0.21096,
    "h": 314.7
  },
  "luminance": 0.11315
}

Semantic roles & 50–950 ramp

primary
#912DB7
secondary
#8EC878
accent
#E44470
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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