#912EC0#912EC0

#912EC0 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.218 H 312.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#912EC0
RGBrgb(145, 46, 192)
HSLhsl(281, 61%, 47%)
HSVhsv(281, 76%, 75%)
CMYKcmyk(24.5%, 76%, 0%, 24.7%)
CIE-LABlab(40.86, 62.66, -57.24)
CIE-LCHlch(40.86, 84.87, 317.59°)
OKLaboklab(51.83% 0.1459 -0.162)
OKLCHoklch(51.83% 0.218 312)
XYZxyz(22.1667, 11.7801, 50.9650)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EC0 #5DC02E
analogous
#482EC0 #912EC0 #C02EA6
triadic
#912EC0 #C0912E #2EC091
tetradic
#912EC0 #C0482E #5DC02E #2EA6C0
square
#912EC0 #C0482E #5DC02E #2EA6C0
split-complementary
#912EC0 #A6C02E #2EC048
monochromatic
#46165D #6C228F #912EC0 #AD55D6 #C586E2

Accessibility & contrast

On white

6.26
#912EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#912EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EC0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EC0#FFFFFF#000000##FFFFFF
##912EC01.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#1562BD
Tritanopia (blue-blind)
#8B5076
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #912ec0;
/* rgb */ color: rgb(145, 46, 192);
/* oklch */ color: oklch(51.8% 0.218 312.0);
Tailwind
colors: {
  custom: {
    50: '#b671d4',
    500: '#912ec0',
    950: '#000000',
  },
}
SCSS
$custom: #912ec0;
$custom-light: #b671d4;
$custom-dark: #000000;
JSON
{
  "hex": "#912ec0",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 280.685,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51831,
    "c": 0.21803,
    "h": 312
  },
  "luminance": 0.1178
}

Semantic roles & 50–950 ramp

primary
#912EC0
secondary
#97CC7E
accent
#E44377
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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