#912CC9#912CC9

#912CC9 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.3% C 0.228 H 309.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#912CC9
RGBrgb(145, 44, 201)
HSLhsl(279, 64%, 48%)
HSVhsv(279, 78%, 79%)
CMYKcmyk(27.9%, 78.1%, 0%, 21.2%)
CIE-LABlab(41.28, 65.23, -61.82)
CIE-LCHlch(41.28, 89.87, 316.53°)
OKLaboklab(52.33% 0.1458 -0.1755)
OKLCHoklch(52.33% 0.228 309.7)
XYZxyz(23.1182, 12.0386, 56.3529)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CC9 #64C92C
analogous
#432CC9 #912CC9 #C92CB2
triadic
#912CC9 #C9912C #2CC991
tetradic
#912CC9 #C9432C #64C92C #2CB2C9
square
#912CC9 #C9432C #64C92C #2CB2C9
split-complementary
#912CC9 #B2C92C #2CC943
monochromatic
#491665 #6D2197 #912CC9 #AC58DA #C58AE5

Accessibility & contrast

On white

6.16
#912CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#912CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912CC9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912CC9#FFFFFF#000000##FFFFFF
##912CC91.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#89537A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #912cc9;
/* rgb */ color: rgb(145, 44, 201);
/* oklch */ color: oklch(52.3% 0.228 309.7);
Tailwind
colors: {
  custom: {
    50: '#b771da',
    500: '#912cc9',
    950: '#000000',
  },
}
SCSS
$custom: #912cc9;
$custom-light: #b771da;
$custom-dark: #000000;
JSON
{
  "hex": "#912cc9",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 278.599,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52328,
    "c": 0.22812,
    "h": 309.7
  },
  "luminance": 0.12038
}

Semantic roles & 50–950 ramp

primary
#912CC9
secondary
#9DCF82
accent
#E7417C
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #912CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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