#912ABD#912ABD

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

Color values

HEX#912ABD
RGBrgb(145, 42, 189)
HSLhsl(282, 64%, 45%)
HSVhsv(282, 78%, 74%)
CMYKcmyk(23.3%, 77.8%, 0%, 25.9%)
CIE-LABlab(40.16, 63.45, -56.62)
CIE-LCHlch(40.16, 85.04, 318.26°)
OKLaboklab(51.27% 0.1499 -0.1602)
OKLCHoklch(51.27% 0.219 313.1)
XYZxyz(21.6887, 11.3505, 49.1826)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912ABD #56BD2A
analogous
#482ABD #912ABD #BD2A9F
triadic
#912ABD #BD912A #2ABD91
tetradic
#912ABD #BD482A #56BD2A #2A9FBD
square
#912ABD #BD482A #56BD2A #2A9FBD
split-complementary
#912ABD #9FBD2A #2ABD48
monochromatic
#441459 #6B1F8B #912ABD #AE4DD7 #C57FE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##912ABD#FFFFFF#000000##FFFFFF
##912ABD1.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)
#005AC1
Deuteranopia (green-blind)
#1661BA
Tritanopia (blue-blind)
#8C4D73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912abd;
/* rgb */ color: rgb(145, 42, 189);
/* oklch */ color: oklch(51.3% 0.219 313.1);
Tailwind
colors: {
  custom: {
    50: '#b670d2',
    500: '#912abd',
    950: '#000000',
  },
}
SCSS
$custom: #912abd;
$custom-light: #b670d2;
$custom-dark: #000000;
JSON
{
  "hex": "#912abd",
  "rgb": {
    "r": 145,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 282.041,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51271,
    "c": 0.21933,
    "h": 313.1
  },
  "luminance": 0.1135
}

Semantic roles & 50–950 ramp

primary
#912ABD
secondary
#91CB78
accent
#E74173
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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