#912282#912282

#912282 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.179 H 334.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#912282
RGBrgb(145, 34, 130)
HSLhsl(308, 62%, 35%)
HSVhsv(308, 77%, 57%)
CMYKcmyk(0%, 76.6%, 10.3%, 43.1%)
CIE-LABlab(35.55, 55.47, -28.39)
CIE-LCHlch(35.55, 62.31, 332.89°)
OKLaboklab(46.81% 0.1612 -0.0777)
OKLCHoklch(46.81% 0.179 334.3)
XYZxyz(16.2785, 8.7769, 21.9515)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912282 #229131
analogous
#682291 #912282 #91224B
triadic
#912282 #829122 #228291
tetradic
#912282 #916822 #229131 #224B91
square
#912282 #916822 #229131 #224B91
split-complementary
#912282 #4B9122 #229168
monochromatic
#2E0B29 #5F1656 #912282 #C32EAE #D756C6

Accessibility & contrast

On white

7.62
#912282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#912282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912282
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912282#FFFFFF#000000##FFFFFF
##9122821.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204985
Deuteranopia (green-blind)
#49597F
Tritanopia (blue-blind)
#982C50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #912282;
/* rgb */ color: rgb(145, 34, 130);
/* oklch */ color: oklch(46.8% 0.179 334.3);
Tailwind
colors: {
  custom: {
    50: '#b56aa6',
    500: '#912282',
    950: '#000000',
  },
}
SCSS
$custom: #912282;
$custom-light: #b56aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#912282",
  "rgb": {
    "r": 145,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 308.108,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46812,
    "c": 0.17899,
    "h": 334.3
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #912282

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

Preview Lab → · Contrast checker → · Palette generator →

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