#912CBF#912CBF

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

Color values

HEX#912CBF
RGBrgb(145, 44, 191)
HSLhsl(281, 63%, 46%)
HSVhsv(281, 77%, 75%)
CMYKcmyk(24.1%, 77%, 0%, 25.1%)
CIE-LABlab(40.55, 63.17, -57.17)
CIE-LCHlch(40.55, 85.20, 317.85°)
OKLaboklab(51.58% 0.1478 -0.1618)
OKLCHoklch(51.58% 0.219 312.4)
XYZxyz(21.9800, 11.5833, 50.3581)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CBF #5ABF2C
analogous
#472CBF #912CBF #BF2CA3
triadic
#912CBF #BF912C #2CBF91
tetradic
#912CBF #BF472C #5ABF2C #2CA3BF
square
#912CBF #BF472C #5ABF2C #2CA3BF
split-complementary
#912CBF #A3BF2C #2CBF47
monochromatic
#45155C #6B218D #912CBF #AD51D7 #C583E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##912CBF#FFFFFF#000000##FFFFFF
##912CBF1.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)
#005BC3
Deuteranopia (green-blind)
#1462BC
Tritanopia (blue-blind)
#8C4F75
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #912cbf;
/* rgb */ color: rgb(145, 44, 191);
/* oklch */ color: oklch(51.6% 0.219 312.4);
Tailwind
colors: {
  custom: {
    50: '#b671d3',
    500: '#912cbf',
    950: '#000000',
  },
}
SCSS
$custom: #912cbf;
$custom-light: #b671d3;
$custom-dark: #000000;
JSON
{
  "hex": "#912cbf",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 281.224,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51584,
    "c": 0.21915,
    "h": 312.4
  },
  "luminance": 0.11583
}

Semantic roles & 50–950 ramp

primary
#912CBF
secondary
#94CC7B
accent
#E64275
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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