#912F8A#912F8A

#912F8A is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.170 H 330.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#912F8A
RGBrgb(145, 47, 138)
HSLhsl(304, 51%, 38%)
HSVhsv(304, 68%, 57%)
CMYKcmyk(0%, 67.6%, 4.8%, 43.1%)
CIE-LABlab(37.64, 52.04, -30.04)
CIE-LCHlch(37.64, 60.09, 330.00°)
OKLaboklab(48.46% 0.148 -0.0826)
OKLCHoklch(48.46% 0.17 330.8)
XYZxyz(17.2810, 9.8890, 25.0384)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912F8A #2F9136
analogous
#672F91 #912F8A #912F59
triadic
#912F8A #8A912F #2F8A91
tetradic
#912F8A #91672F #2F9136 #2F5991
square
#912F8A #91672F #2F9136 #2F5991
split-complementary
#912F8A #59912F #2F9167
monochromatic
#351132 #63205E #912F8A #BF3EB6 #CF6BC8

Accessibility & contrast

On white

7.05
#912F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#912F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912F8A
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912F8A#FFFFFF#000000##FFFFFF
##912F8A1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#4B5D87
Tritanopia (blue-blind)
#973A58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #912f8a;
/* rgb */ color: rgb(145, 47, 138);
/* oklch */ color: oklch(48.5% 0.170 330.8);
Tailwind
colors: {
  custom: {
    50: '#b470ac',
    500: '#912f8a',
    950: '#000000',
  },
}
SCSS
$custom: #912f8a;
$custom-light: #b470ac;
$custom-dark: #000000;
JSON
{
  "hex": "#912f8a",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 304.286,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48457,
    "c": 0.16951,
    "h": 330.8
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#912F8A
secondary
#65B66B
accent
#DB574D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #912F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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