#912EB2#912EB2

#912EB2 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.205 H 316.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#912EB2
RGBrgb(145, 46, 178)
HSLhsl(285, 59%, 44%)
HSVhsv(285, 74%, 70%)
CMYKcmyk(18.5%, 74.2%, 0%, 30.2%)
CIE-LABlab(39.90, 59.84, -50.57)
CIE-LCHlch(39.90, 78.34, 319.80°)
OKLaboklab(50.84% 0.148 -0.1424)
OKLCHoklch(50.84% 0.205 316.1)
XYZxyz(20.6887, 11.1889, 43.1807)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EB2 #4FB22E
analogous
#4F2EB2 #912EB2 #B22E91
triadic
#912EB2 #B2912E #2EB291
tetradic
#912EB2 #B24F2E #4FB22E #2E91B2
square
#912EB2 #B24F2E #4FB22E #2E91B2
split-complementary
#912EB2 #91B22E #2EB24F
monochromatic
#421551 #692181 #912EB2 #B04CD1 #C57DDD

Accessibility & contrast

On white

6.49
#912EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#912EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EB2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EB2#FFFFFF#000000##FFFFFF
##912EB21.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#2D61AF
Tritanopia (blue-blind)
#8F4A6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #912eb2;
/* rgb */ color: rgb(145, 46, 178);
/* oklch */ color: oklch(50.8% 0.205 316.1);
Tailwind
colors: {
  custom: {
    50: '#b571ca',
    500: '#912eb2',
    950: '#000000',
  },
}
SCSS
$custom: #912eb2;
$custom-light: #b571ca;
$custom-dark: #000000;
JSON
{
  "hex": "#912eb2",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 285,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.2054,
    "h": 316.1
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#912EB2
secondary
#8AC676
accent
#E2466D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #912EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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