#912997#912997

#912997 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.188 H 325.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#912997
RGBrgb(145, 41, 151)
HSLhsl(297, 57%, 38%)
HSVhsv(297, 73%, 59%)
CMYKcmyk(4%, 72.8%, 0%, 40.8%)
CIE-LABlab(37.56, 56.58, -38.12)
CIE-LCHlch(37.56, 68.23, 326.03°)
OKLaboklab(48.63% 0.1549 -0.106)
OKLCHoklch(48.63% 0.188 325.6)
XYZxyz(18.0555, 9.8412, 30.2207)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912997 #2F9729
analogous
#5A2997 #912997 #972966
triadic
#912997 #979129 #299791
tetradic
#912997 #975A29 #2F9729 #296697
square
#912997 #975A29 #2F9729 #296697
split-complementary
#912997 #669729 #29975A
monochromatic
#350F37 #631C67 #912997 #BF36C7 #CF65D5

Accessibility & contrast

On white

7.08
#912997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#912997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912997
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912997#FFFFFF#000000##FFFFFF
##9129971.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A509A
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#953B5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #912997;
/* rgb */ color: rgb(145, 41, 151);
/* oklch */ color: oklch(48.6% 0.188 325.6);
Tailwind
colors: {
  custom: {
    50: '#b56db6',
    500: '#912997',
    950: '#000000',
  },
}
SCSS
$custom: #912997;
$custom-light: #b56db6;
$custom-dark: #000000;
JSON
{
  "hex": "#912997",
  "rgb": {
    "r": 145,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 296.727,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48629,
    "c": 0.18767,
    "h": 325.6
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#912997
secondary
#65BB61
accent
#E14750
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #912997

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

Preview Lab → · Contrast checker → · Palette generator →

#912997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva