#912BC1#912BC1

#912BC1 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.222 H 311.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#912BC1
RGBrgb(145, 43, 193)
HSLhsl(281, 64%, 46%)
HSVhsv(281, 78%, 76%)
CMYKcmyk(24.9%, 77.7%, 0%, 24.3%)
CIE-LABlab(40.57, 63.92, -58.31)
CIE-LCHlch(40.57, 86.52, 317.63°)
OKLaboklab(51.65% 0.1483 -0.1651)
OKLCHoklch(51.65% 0.222 311.9)
XYZxyz(22.1648, 11.5984, 51.5129)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912BC1 #5BC12B
analogous
#462BC1 #912BC1 #C12BA6
triadic
#912BC1 #C1912B #2BC191
tetradic
#912BC1 #C1462B #5BC12B #2BA6C1
square
#912BC1 #C1462B #5BC12B #2BA6C1
split-complementary
#912BC1 #A6C12B #2BC146
monochromatic
#46155D #6B208F #912BC1 #AD51D8 #C583E3

Accessibility & contrast

On white

6.33
#912BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#912BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912BC1
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912BC1#FFFFFF#000000##FFFFFF
##912BC11.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#0B62BE
Tritanopia (blue-blind)
#8B4F76
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #912bc1;
/* rgb */ color: rgb(145, 43, 193);
/* oklch */ color: oklch(51.6% 0.222 311.9);
Tailwind
colors: {
  custom: {
    50: '#b670d5',
    500: '#912bc1',
    950: '#000000',
  },
}
SCSS
$custom: #912bc1;
$custom-light: #b670d5;
$custom-dark: #000000;
JSON
{
  "hex": "#912bc1",
  "rgb": {
    "r": 145,
    "g": 43,
    "b": 193
  },
  "hsl": {
    "h": 280.8,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51647,
    "c": 0.22191,
    "h": 311.9
  },
  "luminance": 0.11598
}

Semantic roles & 50–950 ramp

primary
#912BC1
secondary
#95CC7B
accent
#E74176
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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