#912EB3#912EB3

#912EB3 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.206 H 315.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#912EB3
RGBrgb(145, 46, 179)
HSLhsl(285, 59%, 44%)
HSVhsv(285, 74%, 70%)
CMYKcmyk(19%, 74.3%, 0%, 29.8%)
CIE-LABlab(39.96, 60.03, -51.05)
CIE-LCHlch(39.96, 78.80, 319.62°)
OKLaboklab(50.91% 0.1479 -0.1438)
OKLCHoklch(50.91% 0.206 315.8)
XYZxyz(20.7894, 11.2292, 43.7114)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EB3 #50B32E
analogous
#4F2EB3 #912EB3 #B32E93
triadic
#912EB3 #B3912E #2EB391
tetradic
#912EB3 #B34F2E #50B32E #2E93B3
square
#912EB3 #B34F2E #50B32E #2E93B3
split-complementary
#912EB3 #93B32E #2EB34F
monochromatic
#421552 #6A2182 #912EB3 #AF4DD1 #C57EDE

Accessibility & contrast

On white

6.47
#912EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#912EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EB3
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EB3#FFFFFF#000000##FFFFFF
##912EB31.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#8F4B6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912eb3;
/* rgb */ color: rgb(145, 46, 179);
/* oklch */ color: oklch(50.9% 0.206 315.8);
Tailwind
colors: {
  custom: {
    50: '#b571ca',
    500: '#912eb3',
    950: '#000000',
  },
}
SCSS
$custom: #912eb3;
$custom-light: #b571ca;
$custom-dark: #000000;
JSON
{
  "hex": "#912eb3",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 284.662,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50909,
    "c": 0.20629,
    "h": 315.8
  },
  "luminance": 0.11228
}

Semantic roles & 50–950 ramp

primary
#912EB3
secondary
#8BC676
accent
#E2466E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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