#912DBB#912DBB

#912DBB is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.215 H 313.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#912DBB
RGBrgb(145, 45, 187)
HSLhsl(282, 61%, 45%)
HSVhsv(282, 76%, 73%)
CMYKcmyk(22.5%, 75.9%, 0%, 26.7%)
CIE-LABlab(40.39, 62.00, -55.09)
CIE-LCHlch(40.39, 82.94, 318.38°)
OKLaboklab(51.38% 0.1476 -0.1557)
OKLCHoklch(51.38% 0.215 313.5)
XYZxyz(21.5835, 11.4851, 48.0840)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DBB #57BB2D
analogous
#4A2DBB #912DBB #BB2D9E
triadic
#912DBB #BB912D #2DBB91
tetradic
#912DBB #BB4A2D #57BB2D #2D9EBB
square
#912DBB #BB4A2D #57BB2D #2D9EBB
split-complementary
#912DBB #9EBB2D #2DBB4A
monochromatic
#441558 #6B218A #912DBB #AE50D5 #C582E1

Accessibility & contrast

On white

6.37
#912DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#912DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DBB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DBB#FFFFFF#000000##FFFFFF
##912DBB1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#1E61B8
Tritanopia (blue-blind)
#8D4E73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912dbb;
/* rgb */ color: rgb(145, 45, 187);
/* oklch */ color: oklch(51.4% 0.215 313.5);
Tailwind
colors: {
  custom: {
    50: '#b671d0',
    500: '#912dbb',
    950: '#000000',
  },
}
SCSS
$custom: #912dbb;
$custom-light: #b671d0;
$custom-dark: #000000;
JSON
{
  "hex": "#912dbb",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 282.254,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51382,
    "c": 0.21455,
    "h": 313.5
  },
  "luminance": 0.11484
}

Semantic roles & 50–950 ramp

primary
#912DBB
secondary
#92CA7A
accent
#E44373
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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