#912EB7#912EB7

#912EB7 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.210 H 314.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#912EB7
RGBrgb(145, 46, 183)
HSLhsl(283, 60%, 45%)
HSVhsv(283, 75%, 72%)
CMYKcmyk(20.8%, 74.9%, 0%, 28.2%)
CIE-LABlab(40.24, 60.83, -52.98)
CIE-LCHlch(40.24, 80.67, 318.95°)
OKLaboklab(51.19% 0.1473 -0.1495)
OKLCHoklch(51.19% 0.21 314.6)
XYZxyz(21.1999, 11.3934, 45.8730)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EB7 #54B72E
analogous
#4D2EB7 #912EB7 #B72E98
triadic
#912EB7 #B7912E #2EB791
tetradic
#912EB7 #B74D2E #54B72E #2E98B7
square
#912EB7 #B74D2E #54B72E #2E98B7
split-complementary
#912EB7 #98B72E #2EB74D
monochromatic
#431555 #6A2286 #912EB7 #AE4FD3 #C580DF

Accessibility & contrast

On white

6.41
#912EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#912EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EB7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EB7#FFFFFF#000000##FFFFFF
##912EB71.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#2661B4
Tritanopia (blue-blind)
#8E4C71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912eb7;
/* rgb */ color: rgb(145, 46, 183);
/* oklch */ color: oklch(51.2% 0.210 314.6);
Tailwind
colors: {
  custom: {
    50: '#b671cd',
    500: '#912eb7',
    950: '#000000',
  },
}
SCSS
$custom: #912eb7;
$custom-light: #b671cd;
$custom-dark: #000000;
JSON
{
  "hex": "#912eb7",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 283.358,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51188,
    "c": 0.20989,
    "h": 314.6
  },
  "luminance": 0.11393
}

Semantic roles & 50–950 ramp

primary
#912EB7
secondary
#8FC879
accent
#E34571
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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