#912CB6#912CB6

#912CB6 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.211 H 315.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#912CB6
RGBrgb(145, 44, 182)
HSLhsl(284, 61%, 44%)
HSVhsv(284, 76%, 71%)
CMYKcmyk(20.3%, 75.8%, 0%, 28.6%)
CIE-LABlab(39.91, 61.36, -52.90)
CIE-LCHlch(39.91, 81.02, 319.23°)
OKLaboklab(50.94% 0.1493 -0.1493)
OKLCHoklch(50.94% 0.211 315)
XYZxyz(21.0198, 11.1993, 45.3013)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CB6 #51B62C
analogous
#4C2CB6 #912CB6 #B62C96
triadic
#912CB6 #B6912C #2CB691
tetradic
#912CB6 #B64C2C #51B62C #2C96B6
square
#912CB6 #B64C2C #51B62C #2C96B6
split-complementary
#912CB6 #96B62C #2CB64C
monochromatic
#421453 #6A2085 #912CB6 #AF4CD4 #C57DE0

Accessibility & contrast

On white

6.48
#912CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#912CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912CB6
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912CB6#FFFFFF#000000##FFFFFF
##912CB61.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#2661B3
Tritanopia (blue-blind)
#8E4B70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912cb6;
/* rgb */ color: rgb(145, 44, 182);
/* oklch */ color: oklch(50.9% 0.211 315.0);
Tailwind
colors: {
  custom: {
    50: '#b670cd',
    500: '#912cb6',
    950: '#000000',
  },
}
SCSS
$custom: #912cb6;
$custom-light: #b670cd;
$custom-dark: #000000;
JSON
{
  "hex": "#912cb6",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 283.913,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50939,
    "c": 0.21111,
    "h": 315
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#912CB6
secondary
#8CC876
accent
#E4446F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #912CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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