#912DC3#912DC3

#912DC3 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.0% C 0.222 H 311.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#912DC3
RGBrgb(145, 45, 195)
HSLhsl(280, 63%, 47%)
HSVhsv(280, 77%, 76%)
CMYKcmyk(25.6%, 76.9%, 0%, 23.5%)
CIE-LABlab(40.96, 63.64, -58.85)
CIE-LCHlch(40.96, 86.68, 317.24°)
OKLaboklab(51.96% 0.1462 -0.1667)
OKLCHoklch(51.96% 0.222 311.2)
XYZxyz(22.4639, 11.8372, 52.7206)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DC3 #5FC32D
analogous
#462DC3 #912DC3 #C32DAA
triadic
#912DC3 #C3912D #2DC391
tetradic
#912DC3 #C3462D #5FC32D #2DAAC3
square
#912DC3 #C3462D #5FC32D #2DAAC3
split-complementary
#912DC3 #AAC32D #2DC346
monochromatic
#471660 #6C2291 #912DC3 #AC55D8 #C587E3

Accessibility & contrast

On white

6.24
#912DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#912DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DC3
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DC3#FFFFFF#000000##FFFFFF
##912DC31.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0762C0
Tritanopia (blue-blind)
#8A5177
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #912dc3;
/* rgb */ color: rgb(145, 45, 195);
/* oklch */ color: oklch(52.0% 0.222 311.2);
Tailwind
colors: {
  custom: {
    50: '#b671d6',
    500: '#912dc3',
    950: '#000000',
  },
}
SCSS
$custom: #912dc3;
$custom-light: #b671d6;
$custom-dark: #000000;
JSON
{
  "hex": "#912dc3",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 280,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51964,
    "c": 0.22175,
    "h": 311.2
  },
  "luminance": 0.11837
}

Semantic roles & 50–950 ramp

primary
#912DC3
secondary
#99CD7F
accent
#E64279
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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