#912FB4#912FB4

#912FB4 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.206 H 315.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#912FB4
RGBrgb(145, 47, 180)
HSLhsl(284, 59%, 45%)
HSVhsv(284, 74%, 71%)
CMYKcmyk(19.4%, 73.9%, 0%, 29.4%)
CIE-LABlab(40.16, 59.86, -51.32)
CIE-LCHlch(40.16, 78.85, 319.39°)
OKLaboklab(51.07% 0.1468 -0.1446)
OKLCHoklch(51.07% 0.206 315.4)
XYZxyz(20.9305, 11.3488, 44.2592)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FB4 #52B42F
analogous
#4F2FB4 #912FB4 #B42F94
triadic
#912FB4 #B4912F #2FB491
tetradic
#912FB4 #B44F2F #52B42F #2F94B4
square
#912FB4 #B44F2F #52B42F #2F94B4
split-complementary
#912FB4 #94B42F #2FB44F
monochromatic
#431653 #6A2283 #912FB4 #AF4FD1 #C580DE

Accessibility & contrast

On white

6.42
#912FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#912FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FB4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FB4#FFFFFF#000000##FFFFFF
##912FB41.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#2B61B1
Tritanopia (blue-blind)
#8E4C6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912fb4;
/* rgb */ color: rgb(145, 47, 180);
/* oklch */ color: oklch(51.1% 0.206 315.4);
Tailwind
colors: {
  custom: {
    50: '#b571cb',
    500: '#912fb4',
    950: '#000000',
  },
}
SCSS
$custom: #912fb4;
$custom-light: #b571cb;
$custom-dark: #000000;
JSON
{
  "hex": "#912fb4",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 284.211,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51071,
    "c": 0.20609,
    "h": 315.4
  },
  "luminance": 0.11348
}

Semantic roles & 50–950 ramp

primary
#912FB4
secondary
#8DC778
accent
#E2466F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #912FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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