#912DB8#912DB8

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

Color values

HEX#912DB8
RGBrgb(145, 45, 184)
HSLhsl(283, 61%, 45%)
HSVhsv(283, 76%, 72%)
CMYKcmyk(21.2%, 75.5%, 0%, 27.8%)
CIE-LABlab(40.18, 61.40, -53.66)
CIE-LCHlch(40.18, 81.54, 318.85°)
OKLaboklab(51.17% 0.1481 -0.1515)
OKLCHoklch(51.17% 0.212 314.4)
XYZxyz(21.2657, 11.3579, 46.4102)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DB8 #54B82D
analogous
#4B2DB8 #912DB8 #B82D9A
triadic
#912DB8 #B8912D #2DB891
tetradic
#912DB8 #B84B2D #54B82D #2D9AB8
square
#912DB8 #B84B2D #54B82D #2D9AB8
split-complementary
#912DB8 #9AB82D #2DB84B
monochromatic
#431556 #6A2187 #912DB8 #AE4ED4 #C580E0

Accessibility & contrast

On white

6.42
#912DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#912DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DB8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DB8#FFFFFF#000000##FFFFFF
##912DB81.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#2461B5
Tritanopia (blue-blind)
#8D4C71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912db8;
/* rgb */ color: rgb(145, 45, 184);
/* oklch */ color: oklch(51.2% 0.212 314.4);
Tailwind
colors: {
  custom: {
    50: '#b671ce',
    500: '#912db8',
    950: '#000000',
  },
}
SCSS
$custom: #912db8;
$custom-light: #b671ce;
$custom-dark: #000000;
JSON
{
  "hex": "#912db8",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 283.165,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51168,
    "c": 0.21186,
    "h": 314.4
  },
  "luminance": 0.11357
}

Semantic roles & 50–950 ramp

primary
#912DB8
secondary
#8FC978
accent
#E44471
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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