#912DBD#912DBD

#912DBD is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.216 H 312.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#912DBD
RGBrgb(145, 45, 189)
HSLhsl(282, 62%, 46%)
HSVhsv(282, 76%, 74%)
CMYKcmyk(23.3%, 76.2%, 0%, 25.9%)
CIE-LABlab(40.53, 62.41, -56.03)
CIE-LCHlch(40.53, 83.87, 318.08°)
OKLaboklab(51.53% 0.1473 -0.1585)
OKLCHoklch(51.53% 0.216 312.9)
XYZxyz(21.7991, 11.5713, 49.2194)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DBD #59BD2D
analogous
#492DBD #912DBD #BD2DA1
triadic
#912DBD #BD912D #2DBD91
tetradic
#912DBD #BD492D #59BD2D #2DA1BD
square
#912DBD #BD492D #59BD2D #2DA1BD
split-complementary
#912DBD #A1BD2D #2DBD49
monochromatic
#45155A #6B218C #912DBD #AD52D6 #C583E1

Accessibility & contrast

On white

6.34
#912DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#912DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DBD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DBD#FFFFFF#000000##FFFFFF
##912DBD1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#1A62BA
Tritanopia (blue-blind)
#8C4F74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #912dbd;
/* rgb */ color: rgb(145, 45, 189);
/* oklch */ color: oklch(51.5% 0.216 312.9);
Tailwind
colors: {
  custom: {
    50: '#b671d2',
    500: '#912dbd',
    950: '#000000',
  },
}
SCSS
$custom: #912dbd;
$custom-light: #b671d2;
$custom-dark: #000000;
JSON
{
  "hex": "#912dbd",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 189
  },
  "hsl": {
    "h": 281.667,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51526,
    "c": 0.21635,
    "h": 312.9
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#912DBD
secondary
#93CB7B
accent
#E54375
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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