#912CB0#912CB0

#912CB0 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.5% C 0.206 H 316.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#912CB0
RGBrgb(145, 44, 176)
HSLhsl(286, 60%, 43%)
HSVhsv(286, 75%, 69%)
CMYKcmyk(17.6%, 75%, 0%, 31%)
CIE-LABlab(39.51, 60.17, -50.01)
CIE-LCHlch(39.51, 78.24, 320.27°)
OKLaboklab(50.52% 0.1501 -0.1408)
OKLCHoklch(50.52% 0.206 316.8)
XYZxyz(20.4130, 10.9566, 42.1054)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CB0 #4BB02C
analogous
#4F2CB0 #912CB0 #B02C8D
triadic
#912CB0 #B0912C #2CB091
tetradic
#912CB0 #B04F2C #4BB02C #2C8DB0
square
#912CB0 #B04F2C #4BB02C #2C8DB0
split-complementary
#912CB0 #8DB02C #2CB04F
monochromatic
#40144E #69207F #912CB0 #B148D1 #C679DD

Accessibility & contrast

On white

6.58
#912CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#912CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912CB0
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912CB0#FFFFFF#000000##FFFFFF
##912CB01.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#2D60AD
Tritanopia (blue-blind)
#8F486C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #912cb0;
/* rgb */ color: rgb(145, 44, 176);
/* oklch */ color: oklch(50.5% 0.206 316.8);
Tailwind
colors: {
  custom: {
    50: '#b570c8',
    500: '#912cb0',
    950: '#000000',
  },
}
SCSS
$custom: #912cb0;
$custom-light: #b570c8;
$custom-dark: #000000;
JSON
{
  "hex": "#912cb0",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 285.909,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50522,
    "c": 0.2058,
    "h": 316.8
  },
  "luminance": 0.10956
}

Semantic roles & 50–950 ramp

primary
#912CB0
secondary
#86C672
accent
#E3456A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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