#912CB1#912CB1

#912CB1 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.207 H 316.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#912CB1
RGBrgb(145, 44, 177)
HSLhsl(286, 60%, 43%)
HSVhsv(286, 75%, 69%)
CMYKcmyk(18.1%, 75.1%, 0%, 30.6%)
CIE-LABlab(39.57, 60.37, -50.49)
CIE-LCHlch(39.57, 78.70, 320.09°)
OKLaboklab(50.59% 0.15 -0.1422)
OKLCHoklch(50.59% 0.207 316.5)
XYZxyz(20.5123, 10.9963, 42.6284)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CB1 #4CB12C
analogous
#4E2CB1 #912CB1 #B12C8E
triadic
#912CB1 #B1912C #2CB191
tetradic
#912CB1 #B14E2C #4CB12C #2C8EB1
square
#912CB1 #B14E2C #4CB12C #2C8EB1
split-complementary
#912CB1 #8EB12C #2CB14E
monochromatic
#41144F #692080 #912CB1 #B149D2 #C67ADE

Accessibility & contrast

On white

6.56
#912CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#912CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912CB1
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912CB1#FFFFFF#000000##FFFFFF
##912CB11.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#2C60AE
Tritanopia (blue-blind)
#8F496D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #912cb1;
/* rgb */ color: rgb(145, 44, 177);
/* oklch */ color: oklch(50.6% 0.207 316.5);
Tailwind
colors: {
  custom: {
    50: '#b570c9',
    500: '#912cb1',
    950: '#000000',
  },
}
SCSS
$custom: #912cb1;
$custom-light: #b570c9;
$custom-dark: #000000;
JSON
{
  "hex": "#912cb1",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 285.564,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5059,
    "c": 0.20668,
    "h": 316.5
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#912CB1
secondary
#87C673
accent
#E3446B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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