#912281#912281

#912281 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.178 H 334.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#912281
RGBrgb(145, 34, 129)
HSLhsl(309, 62%, 35%)
HSVhsv(309, 77%, 57%)
CMYKcmyk(0%, 76.6%, 11%, 43.1%)
CIE-LABlab(35.50, 55.31, -27.85)
CIE-LCHlch(35.50, 61.93, 333.27°)
OKLaboklab(46.76% 0.1611 -0.0762)
OKLCHoklch(46.76% 0.178 334.7)
XYZxyz(16.2117, 8.7502, 21.5998)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912281 #229132
analogous
#6A2291 #912281 #912249
triadic
#912281 #819122 #228191
tetradic
#912281 #916A22 #229132 #224991
square
#912281 #916A22 #229132 #224991
split-complementary
#912281 #499122 #22916A
monochromatic
#2E0B29 #5F1655 #912281 #C32EAD #D756C5

Accessibility & contrast

On white

7.64
#912281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#912281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912281
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912281#FFFFFF#000000##FFFFFF
##9122811.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214984
Deuteranopia (green-blind)
#4A597E
Tritanopia (blue-blind)
#982C4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #912281;
/* rgb */ color: rgb(145, 34, 129);
/* oklch */ color: oklch(46.8% 0.178 334.7);
Tailwind
colors: {
  custom: {
    50: '#b56aa6',
    500: '#912281',
    950: '#000000',
  },
}
SCSS
$custom: #912281;
$custom-light: #b56aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#912281",
  "rgb": {
    "r": 145,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 308.649,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46758,
    "c": 0.17826,
    "h": 334.7
  },
  "luminance": 0.08749
}

Semantic roles & 50–950 ramp

primary
#912281
secondary
#53BB62
accent
#E55A43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #912281

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

Preview Lab → · Contrast checker → · Palette generator →

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