#912E8D#912E8D

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

Color values

HEX#912E8D
RGBrgb(145, 46, 141)
HSLhsl(302, 52%, 37%)
HSVhsv(302, 68%, 57%)
CMYKcmyk(0%, 68.3%, 2.8%, 43.1%)
CIE-LABlab(37.66, 52.95, -31.86)
CIE-LCHlch(37.66, 61.80, 328.97°)
OKLaboklab(48.52% 0.1494 -0.0878)
OKLCHoklch(48.52% 0.173 329.5)
XYZxyz(17.4616, 9.8981, 26.1850)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912E8D #2E9132
analogous
#632E91 #912E8D #912E5C
triadic
#912E8D #8D912E #2E8D91
tetradic
#912E8D #91632E #2E9132 #2E5C91
square
#912E8D #91632E #2E9132 #2E5C91
split-complementary
#912E8D #5C912E #2E9163
monochromatic
#341133 #631F60 #912E8D #BF3DBA #D06ACC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##912E8D#FFFFFF#000000##FFFFFF
##912E8D1.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)
#245090
Deuteranopia (green-blind)
#495D8A
Tritanopia (blue-blind)
#963A5A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #912e8d;
/* rgb */ color: rgb(145, 46, 141);
/* oklch */ color: oklch(48.5% 0.173 329.5);
Tailwind
colors: {
  custom: {
    50: '#b46faf',
    500: '#912e8d',
    950: '#000000',
  },
}
SCSS
$custom: #912e8d;
$custom-light: #b46faf;
$custom-dark: #000000;
JSON
{
  "hex": "#912e8d",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 302.424,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48521,
    "c": 0.17328,
    "h": 329.5
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#912E8D
secondary
#64B768
accent
#DB524D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #912E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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