#912FB6#912FB6

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

Color values

HEX#912FB6
RGBrgb(145, 47, 182)
HSLhsl(284, 59%, 45%)
HSVhsv(284, 74%, 71%)
CMYKcmyk(20.3%, 74.2%, 0%, 28.6%)
CIE-LABlab(40.30, 60.26, -52.29)
CIE-LCHlch(40.30, 79.78, 319.05°)
OKLaboklab(51.21% 0.1466 -0.1475)
OKLCHoklch(51.21% 0.208 314.8)
XYZxyz(21.1357, 11.4309, 45.3399)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FB6 #54B62F
analogous
#4E2FB6 #912FB6 #B62F97
triadic
#912FB6 #B6912F #2FB691
tetradic
#912FB6 #B64E2F #54B62F #2F97B6
square
#912FB6 #B64E2F #54B62F #2F97B6
split-complementary
#912FB6 #97B62F #2FB64E
monochromatic
#431655 #6A2285 #912FB6 #AE50D2 #C581DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##912FB6#FFFFFF#000000##FFFFFF
##912FB61.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)
#005ABA
Deuteranopia (green-blind)
#2961B3
Tritanopia (blue-blind)
#8E4D70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912fb6;
/* rgb */ color: rgb(145, 47, 182);
/* oklch */ color: oklch(51.2% 0.208 314.8);
Tailwind
colors: {
  custom: {
    50: '#b571cd',
    500: '#912fb6',
    950: '#000000',
  },
}
SCSS
$custom: #912fb6;
$custom-light: #b571cd;
$custom-dark: #000000;
JSON
{
  "hex": "#912fb6",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 283.556,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5121,
    "c": 0.2079,
    "h": 314.8
  },
  "luminance": 0.1143
}

Semantic roles & 50–950 ramp

primary
#912FB6
secondary
#8FC779
accent
#E24671
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #912FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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