#912CC0#912CC0

#912CC0 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.220 H 312.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#912CC0
RGBrgb(145, 44, 192)
HSLhsl(281, 63%, 46%)
HSVhsv(281, 77%, 75%)
CMYKcmyk(24.5%, 77.1%, 0%, 24.7%)
CIE-LABlab(40.62, 63.37, -57.64)
CIE-LCHlch(40.62, 85.67, 317.71°)
OKLaboklab(51.66% 0.1476 -0.1632)
OKLCHoklch(51.66% 0.22 312.1)
XYZxyz(22.0904, 11.6275, 50.9396)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CC0 #5BC02C
analogous
#472CC0 #912CC0 #C02CA5
triadic
#912CC0 #C0912C #2CC091
tetradic
#912CC0 #C0472C #5BC02C #2CA5C0
square
#912CC0 #C0472C #5BC02C #2CA5C0
split-complementary
#912CC0 #A5C02C #2CC047
monochromatic
#46155C #6B218E #912CC0 #AD52D7 #C584E3

Accessibility & contrast

On white

6.32
#912CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#912CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912CC0
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912CC0#FFFFFF#000000##FFFFFF
##912CC01.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#1162BD
Tritanopia (blue-blind)
#8B4F75
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #912cc0;
/* rgb */ color: rgb(145, 44, 192);
/* oklch */ color: oklch(51.7% 0.220 312.1);
Tailwind
colors: {
  custom: {
    50: '#b671d4',
    500: '#912cc0',
    950: '#000000',
  },
}
SCSS
$custom: #912cc0;
$custom-light: #b671d4;
$custom-dark: #000000;
JSON
{
  "hex": "#912cc0",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 280.946,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51657,
    "c": 0.22004,
    "h": 312.1
  },
  "luminance": 0.11627
}

Semantic roles & 50–950 ramp

primary
#912CC0
secondary
#95CC7C
accent
#E64276
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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