#912AC1#912AC1

#912AC1 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.6% C 0.223 H 312.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#912AC1
RGBrgb(145, 42, 193)
HSLhsl(281, 64%, 46%)
HSVhsv(281, 78%, 76%)
CMYKcmyk(24.9%, 78.2%, 0%, 24.3%)
CIE-LABlab(40.45, 64.26, -58.50)
CIE-LCHlch(40.45, 86.90, 317.69°)
OKLaboklab(51.57% 0.1491 -0.1657)
OKLCHoklch(51.57% 0.223 312)
XYZxyz(22.1289, 11.5265, 51.5009)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912AC1 #5AC12A
analogous
#452AC1 #912AC1 #C12AA5
triadic
#912AC1 #C1912A #2AC191
tetradic
#912AC1 #C1452A #5AC12A #2AA5C1
square
#912AC1 #C1452A #5AC12A #2AA5C1
split-complementary
#912AC1 #A5C12A #2AC145
monochromatic
#45145C #6B1F8F #912AC1 #AD4FD9 #C582E4

Accessibility & contrast

On white

6.35
#912AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #912AC1
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912AC1#FFFFFF#000000##FFFFFF
##912AC11.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#0861BE
Tritanopia (blue-blind)
#8B4F75
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912ac1;
/* rgb */ color: rgb(145, 42, 193);
/* oklch */ color: oklch(51.6% 0.223 312.0);
Tailwind
colors: {
  custom: {
    50: '#b670d5',
    500: '#912ac1',
    950: '#000000',
  },
}
SCSS
$custom: #912ac1;
$custom-light: #b670d5;
$custom-dark: #000000;
JSON
{
  "hex": "#912ac1",
  "rgb": {
    "r": 145,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 280.927,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51565,
    "c": 0.22287,
    "h": 312
  },
  "luminance": 0.11526
}

Semantic roles & 50–950 ramp

primary
#912AC1
secondary
#94CD7A
accent
#E74176
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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