#912CBD#912CBD

#912CBD is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.217 H 313.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#912CBD
RGBrgb(145, 44, 189)
HSLhsl(282, 62%, 46%)
HSVhsv(282, 77%, 74%)
CMYKcmyk(23.3%, 76.7%, 0%, 25.9%)
CIE-LABlab(40.40, 62.76, -56.23)
CIE-LCHlch(40.40, 84.27, 318.14°)
OKLaboklab(51.44% 0.1482 -0.159)
OKLCHoklch(51.44% 0.217 313)
XYZxyz(21.7614, 11.4959, 49.2068)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CBD #58BD2C
analogous
#482CBD #912CBD #BD2CA0
triadic
#912CBD #BD912C #2CBD91
tetradic
#912CBD #BD482C #58BD2C #2CA0BD
square
#912CBD #BD482C #58BD2C #2CA0BD
split-complementary
#912CBD #A0BD2C #2CBD48
monochromatic
#45155A #6B208B #912CBD #AD50D6 #C582E2

Accessibility & contrast

On white

6.37
#912CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#912CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912CBD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912CBD#FFFFFF#000000##FFFFFF
##912CBD1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#1961BA
Tritanopia (blue-blind)
#8C4E74
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912cbd;
/* rgb */ color: rgb(145, 44, 189);
/* oklch */ color: oklch(51.4% 0.217 313.0);
Tailwind
colors: {
  custom: {
    50: '#b670d2',
    500: '#912cbd',
    950: '#000000',
  },
}
SCSS
$custom: #912cbd;
$custom-light: #b670d2;
$custom-dark: #000000;
JSON
{
  "hex": "#912cbd",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 281.793,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51439,
    "c": 0.21736,
    "h": 313
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#912CBD
secondary
#93CB7A
accent
#E54274
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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