#912197#912197

#912197 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 48.0% C 0.196 H 325.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#912197
RGBrgb(145, 33, 151)
HSLhsl(297, 64%, 36%)
HSVhsv(297, 78%, 59%)
CMYKcmyk(4%, 78.1%, 0%, 40.8%)
CIE-LABlab(36.64, 59.22, -39.59)
CIE-LCHlch(36.64, 71.23, 326.24°)
OKLaboklab(47.97% 0.1622 -0.1102)
OKLCHoklch(47.97% 0.196 325.8)
XYZxyz(17.8065, 9.3430, 30.1377)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912197 #279721
analogous
#562197 #912197 #972162
triadic
#912197 #979121 #219791
tetradic
#912197 #975621 #279721 #216297
square
#912197 #975621 #279721 #216297
split-complementary
#912197 #629721 #219756
monochromatic
#310B33 #611665 #912197 #C12CC9 #D458DA

Accessibility & contrast

On white

7.32
#912197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#912197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912197
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912197#FFFFFF#000000##FFFFFF
##9121971.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3D5B94
Tritanopia (blue-blind)
#95375C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #912197;
/* rgb */ color: rgb(145, 33, 151);
/* oklch */ color: oklch(48.0% 0.196 325.8);
Tailwind
colors: {
  custom: {
    50: '#b56ab6',
    500: '#912197',
    950: '#000000',
  },
}
SCSS
$custom: #912197;
$custom-light: #b56ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#912197",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 296.949,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47973,
    "c": 0.19609,
    "h": 325.8
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#912197
secondary
#5BBE55
accent
#E74149
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #912197

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

Preview Lab → · Contrast checker → · Palette generator →

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