#912FB9#912FB9

#912FB9 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.211 H 313.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#912FB9
RGBrgb(145, 47, 185)
HSLhsl(283, 59%, 45%)
HSVhsv(283, 75%, 73%)
CMYKcmyk(21.6%, 74.6%, 0%, 27.5%)
CIE-LABlab(40.50, 60.87, -53.72)
CIE-LCHlch(40.50, 81.18, 318.57°)
OKLaboklab(51.42% 0.1461 -0.1517)
OKLCHoklch(51.42% 0.211 313.9)
XYZxyz(21.4490, 11.5563, 46.9903)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FB9 #57B92F
analogous
#4C2FB9 #912FB9 #B92F9C
triadic
#912FB9 #B9912F #2FB991
tetradic
#912FB9 #B94C2F #57B92F #2F9CB9
square
#912FB9 #B94C2F #57B92F #2F9CB9
split-complementary
#912FB9 #9CB92F #2FB94C
monochromatic
#441657 #6B2388 #912FB9 #AE52D3 #C583DF

Accessibility & contrast

On white

6.34
#912FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#912FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FB9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FB9#FFFFFF#000000##FFFFFF
##912FB91.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#2462B6
Tritanopia (blue-blind)
#8D4E72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #912fb9;
/* rgb */ color: rgb(145, 47, 185);
/* oklch */ color: oklch(51.4% 0.211 313.9);
Tailwind
colors: {
  custom: {
    50: '#b672cf',
    500: '#912fb9',
    950: '#000000',
  },
}
SCSS
$custom: #912fb9;
$custom-light: #b672cf;
$custom-dark: #000000;
JSON
{
  "hex": "#912fb9",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 282.609,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5142,
    "c": 0.21063,
    "h": 313.9
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#912FB9
secondary
#92C97B
accent
#E34573
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #912FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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