#912EB8#912EB8

#912EB8 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.211 H 314.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#912EB8
RGBrgb(145, 46, 184)
HSLhsl(283, 60%, 45%)
HSVhsv(283, 75%, 72%)
CMYKcmyk(21.2%, 75%, 0%, 27.8%)
CIE-LABlab(40.30, 61.03, -53.45)
CIE-LCHlch(40.30, 81.13, 318.79°)
OKLaboklab(51.26% 0.1472 -0.1509)
OKLCHoklch(51.26% 0.211 314.3)
XYZxyz(21.3043, 11.4352, 46.4231)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912EB8 #55B82E
analogous
#4C2EB8 #912EB8 #B82E9A
triadic
#912EB8 #B8912E #2EB891
tetradic
#912EB8 #B84C2E #55B82E #2E9AB8
square
#912EB8 #B84C2E #55B82E #2E9AB8
split-complementary
#912EB8 #9AB82E #2EB84C
monochromatic
#441656 #6A2287 #912EB8 #AE50D3 #C581DF

Accessibility & contrast

On white

6.39
#912EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#912EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912EB8
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912EB8#FFFFFF#000000##FFFFFF
##912EB81.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#2561B5
Tritanopia (blue-blind)
#8D4D71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912eb8;
/* rgb */ color: rgb(145, 46, 184);
/* oklch */ color: oklch(51.3% 0.211 314.3);
Tailwind
colors: {
  custom: {
    50: '#b671ce',
    500: '#912eb8',
    950: '#000000',
  },
}
SCSS
$custom: #912eb8;
$custom-light: #b671ce;
$custom-dark: #000000;
JSON
{
  "hex": "#912eb8",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 283.043,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51258,
    "c": 0.2108,
    "h": 314.3
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

primary
#912EB8
secondary
#90C879
accent
#E34571
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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