#912DBA#912DBA

#912DBA is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.214 H 313.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#912DBA
RGBrgb(145, 45, 186)
HSLhsl(283, 61%, 45%)
HSVhsv(283, 76%, 73%)
CMYKcmyk(22%, 75.8%, 0%, 27.1%)
CIE-LABlab(40.32, 61.80, -54.61)
CIE-LCHlch(40.32, 82.47, 318.53°)
OKLaboklab(51.31% 0.1478 -0.1543)
OKLCHoklch(51.31% 0.214 313.8)
XYZxyz(21.4768, 11.4424, 47.5221)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DBA #56BA2D
analogous
#4A2DBA #912DBA #BA2D9D
triadic
#912DBA #BA912D #2DBA91
tetradic
#912DBA #BA4A2D #56BA2D #2D9DBA
square
#912DBA #BA4A2D #56BA2D #2D9DBA
split-complementary
#912DBA #9DBA2D #2DBA4A
monochromatic
#441557 #6B2189 #912DBA #AE50D5 #C581E0

Accessibility & contrast

On white

6.39
#912DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#912DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DBA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DBA#FFFFFF#000000##FFFFFF
##912DBA1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#2061B7
Tritanopia (blue-blind)
#8D4D72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912dba;
/* rgb */ color: rgb(145, 45, 186);
/* oklch */ color: oklch(51.3% 0.214 313.8);
Tailwind
colors: {
  custom: {
    50: '#b671d0',
    500: '#912dba',
    950: '#000000',
  },
}
SCSS
$custom: #912dba;
$custom-light: #b671d0;
$custom-dark: #000000;
JSON
{
  "hex": "#912dba",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 282.553,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5131,
    "c": 0.21365,
    "h": 313.8
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #912DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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