#912EC1#912EC1

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

Color values

HEX#912EC1
RGBrgb(145, 46, 193)
HSLhsl(280, 62%, 47%)
HSVhsv(280, 76%, 76%)
CMYKcmyk(24.9%, 76.2%, 0%, 24.3%)
CIE-LABlab(40.94, 62.87, -57.71)
CIE-LCHlch(40.94, 85.34, 317.45°)
OKLaboklab(51.9% 0.1457 -0.1634)
OKLCHoklch(51.9% 0.219 311.7)
XYZxyz(22.2779, 11.8246, 51.5506)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EC1 #5EC12E
analogous
#482EC1 #912EC1 #C12EA8
triadic
#912EC1 #C1912E #2EC191
tetradic
#912EC1 #C1482E #5EC12E #2EA8C1
square
#912EC1 #C1482E #5EC12E #2EA8C1
split-complementary
#912EC1 #A8C12E #2EC148
monochromatic
#47165E #6C2290 #912EC1 #AC56D7 #C587E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##912EC1#FFFFFF#000000##FFFFFF
##912EC11.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#1262BE
Tritanopia (blue-blind)
#8B5176
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #912ec1;
/* rgb */ color: rgb(145, 46, 193);
/* oklch */ color: oklch(51.9% 0.219 311.7);
Tailwind
colors: {
  custom: {
    50: '#b672d5',
    500: '#912ec1',
    950: '#000000',
  },
}
SCSS
$custom: #912ec1;
$custom-light: #b672d5;
$custom-dark: #000000;
JSON
{
  "hex": "#912ec1",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 193
  },
  "hsl": {
    "h": 280.408,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51904,
    "c": 0.21894,
    "h": 311.7
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#912EC1
secondary
#98CC7F
accent
#E54378
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #912EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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