#912CB9#912CB9

#912CB9 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.214 H 314.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#912CB9
RGBrgb(145, 44, 185)
HSLhsl(283, 62%, 45%)
HSVhsv(283, 76%, 73%)
CMYKcmyk(21.6%, 76.2%, 0%, 27.5%)
CIE-LABlab(40.12, 61.96, -54.34)
CIE-LCHlch(40.12, 82.41, 318.75°)
OKLaboklab(51.15% 0.1488 -0.1535)
OKLCHoklch(51.15% 0.214 314.1)
XYZxyz(21.3332, 11.3246, 46.9516)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CB9 #54B92C
analogous
#4B2CB9 #912CB9 #B92C9A
triadic
#912CB9 #B9912C #2CB991
tetradic
#912CB9 #B94B2C #54B92C #2C9AB9
square
#912CB9 #B94B2C #54B92C #2C9AB9
split-complementary
#912CB9 #9AB92C #2CB94B
monochromatic
#431456 #6A2088 #912CB9 #AE4DD5 #C57FE1

Accessibility & contrast

On white

6.43
#912CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#912CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912CB9
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912CB9#FFFFFF#000000##FFFFFF
##912CB91.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#2161B6
Tritanopia (blue-blind)
#8D4C71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912cb9;
/* rgb */ color: rgb(145, 44, 185);
/* oklch */ color: oklch(51.2% 0.214 314.1);
Tailwind
colors: {
  custom: {
    50: '#b670cf',
    500: '#912cb9',
    950: '#000000',
  },
}
SCSS
$custom: #912cb9;
$custom-light: #b670cf;
$custom-dark: #000000;
JSON
{
  "hex": "#912cb9",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 282.979,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51151,
    "c": 0.21379,
    "h": 314.1
  },
  "luminance": 0.11324
}

Semantic roles & 50–950 ramp

primary
#912CB9
secondary
#8FC978
accent
#E54371
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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