#912AB6#912AB6

#912AB6 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.213 H 315.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#912AB6
RGBrgb(145, 42, 182)
HSLhsl(284, 63%, 44%)
HSVhsv(284, 77%, 71%)
CMYKcmyk(20.3%, 76.9%, 0%, 28.6%)
CIE-LABlab(39.67, 62.06, -53.30)
CIE-LCHlch(39.67, 81.80, 319.34°)
OKLaboklab(50.77% 0.1511 -0.1504)
OKLCHoklch(50.77% 0.213 315.1)
XYZxyz(20.9471, 11.0539, 45.2771)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912AB6 #4FB62A
analogous
#4B2AB6 #912AB6 #B62A95
triadic
#912AB6 #B6912A #2AB691
tetradic
#912AB6 #B64B2A #4FB62A #2A95B6
square
#912AB6 #B64B2A #4FB62A #2A95B6
split-complementary
#912AB6 #95B62A #2AB64B
monochromatic
#421353 #691F84 #912AB6 #B048D5 #C57AE0

Accessibility & contrast

On white

6.54
#912AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#912AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912AB6
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912AB6#FFFFFF#000000##FFFFFF
##912AB61.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#2460B3
Tritanopia (blue-blind)
#8E4A6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #912ab6;
/* rgb */ color: rgb(145, 42, 182);
/* oklch */ color: oklch(50.8% 0.213 315.1);
Tailwind
colors: {
  custom: {
    50: '#b66fcd',
    500: '#912ab6',
    950: '#000000',
  },
}
SCSS
$custom: #912ab6;
$custom-light: #b66fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#912ab6",
  "rgb": {
    "r": 145,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 284.143,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50767,
    "c": 0.21316,
    "h": 315.1
  },
  "luminance": 0.11053
}

Semantic roles & 50–950 ramp

primary
#912AB6
secondary
#8AC873
accent
#E6426D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #912AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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