#912E98#912E98

#912E98 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.183 H 325.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#912E98
RGBrgb(145, 46, 152)
HSLhsl(296, 54%, 39%)
HSVhsv(296, 70%, 60%)
CMYKcmyk(4.6%, 69.7%, 0%, 40.4%)
CIE-LABlab(38.27, 54.89, -37.59)
CIE-LCHlch(38.27, 66.53, 325.60°)
OKLaboklab(49.16% 0.1497 -0.1045)
OKLCHoklch(49.16% 0.183 325.1)
XYZxyz(18.3211, 10.2419, 30.7116)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912E98 #35982E
analogous
#5C2E98 #912E98 #982E6A
triadic
#912E98 #98912E #2E9891
tetradic
#912E98 #985C2E #35982E #2E6A98
square
#912E98 #985C2E #35982E #2E6A98
split-complementary
#912E98 #6A982E #2E985C
monochromatic
#37123A #642069 #912E98 #BC3EC5 #CC6DD3

Accessibility & contrast

On white

6.89
#912E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#912E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912E98
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912E98#FFFFFF#000000##FFFFFF
##912E981.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529B
Deuteranopia (green-blind)
#435E95
Tritanopia (blue-blind)
#943F5F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #912e98;
/* rgb */ color: rgb(145, 46, 152);
/* oklch */ color: oklch(49.2% 0.183 325.1);
Tailwind
colors: {
  custom: {
    50: '#b470b7',
    500: '#912e98',
    950: '#000000',
  },
}
SCSS
$custom: #912e98;
$custom-light: #b470b7;
$custom-dark: #000000;
JSON
{
  "hex": "#912e98",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 296.038,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49161,
    "c": 0.18253,
    "h": 325.1
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#912E98
secondary
#6DBA68
accent
#DD4B55
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #912E98

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

Preview Lab → · Contrast checker → · Palette generator →

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