#912DCE#912DCE

#912DCE is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.8% C 0.232 H 308.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#912DCE
RGBrgb(145, 45, 206)
HSLhsl(277, 64%, 49%)
HSVhsv(277, 78%, 81%)
CMYKcmyk(29.6%, 78.2%, 0%, 19.2%)
CIE-LABlab(41.77, 65.93, -63.92)
CIE-LCHlch(41.77, 91.83, 315.89°)
OKLaboklab(52.79% 0.1439 -0.1816)
OKLCHoklch(52.79% 0.232 308.4)
XYZxyz(23.7537, 12.3531, 59.5136)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912DCE #6ACE2D
analogous
#412DCE #912DCE #CE2DBB
triadic
#912DCE #CE912D #2DCE91
tetradic
#912DCE #CE412D #6ACE2D #2DBBCE
square
#912DCE #CE412D #6ACE2D #2DBBCE
split-complementary
#912DCE #BBCE2D #2DCE41
monochromatic
#4A176A #6E229C #912DCE #AB5DDC #C58FE7

Accessibility & contrast

On white

6.05
#912DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#912DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912DCE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912DCE#FFFFFF#000000##FFFFFF
##912DCE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#87567E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #912dce;
/* rgb */ color: rgb(145, 45, 206);
/* oklch */ color: oklch(52.8% 0.232 308.4);
Tailwind
colors: {
  custom: {
    50: '#b772de',
    500: '#912dce',
    950: '#000000',
  },
}
SCSS
$custom: #912dce;
$custom-light: #b772de;
$custom-dark: #000000;
JSON
{
  "hex": "#912dce",
  "rgb": {
    "r": 145,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 277.267,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52792,
    "c": 0.23171,
    "h": 308.4
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#912DCE
secondary
#A2D186
accent
#E74180
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #912DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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