#912A97#912A97

#912A97 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.187 H 325.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#912A97
RGBrgb(145, 42, 151)
HSLhsl(297, 56%, 38%)
HSVhsv(297, 72%, 59%)
CMYKcmyk(4%, 72.2%, 0%, 40.8%)
CIE-LABlab(37.68, 56.22, -37.92)
CIE-LCHlch(37.68, 67.82, 326.00°)
OKLaboklab(48.72% 0.1539 -0.1054)
OKLCHoklch(48.72% 0.187 325.6)
XYZxyz(18.0905, 9.9112, 30.2324)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912A97 #30972A
analogous
#5A2A97 #912A97 #972A67
triadic
#912A97 #97912A #2A9791
tetradic
#912A97 #975A2A #30972A #2A6797
square
#912A97 #975A2A #30972A #2A6797
split-complementary
#912A97 #67972A #2A975A
monochromatic
#350F37 #631D67 #912A97 #BF37C7 #CF67D5

Accessibility & contrast

On white

7.04
#912A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #912A97
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912A97#FFFFFF#000000##FFFFFF
##912A971.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D519A
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#953C5E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #912a97;
/* rgb */ color: rgb(145, 42, 151);
/* oklch */ color: oklch(48.7% 0.187 325.6);
Tailwind
colors: {
  custom: {
    50: '#b56eb6',
    500: '#912a97',
    950: '#000000',
  },
}
SCSS
$custom: #912a97;
$custom-light: #b56eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#912a97",
  "rgb": {
    "r": 145,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 296.697,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48719,
    "c": 0.18651,
    "h": 325.6
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#912A97
secondary
#67BB62
accent
#E04850
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #912A97

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

Preview Lab → · Contrast checker → · Palette generator →

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