#912181#912181

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

Color values

HEX#912181
RGBrgb(145, 33, 129)
HSLhsl(309, 63%, 35%)
HSVhsv(309, 77%, 57%)
CMYKcmyk(0%, 77.2%, 11%, 43.1%)
CIE-LABlab(35.39, 55.63, -28.03)
CIE-LCHlch(35.39, 62.29, 333.26°)
OKLaboklab(46.68% 0.1621 -0.0767)
OKLCHoklch(46.68% 0.179 334.7)
XYZxyz(16.1835, 8.6939, 21.5904)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912181 #219131
analogous
#692191 #912181 #912149
triadic
#912181 #819121 #218191
tetradic
#912181 #916921 #219131 #214991
square
#912181 #916921 #219131 #214991
split-complementary
#912181 #499121 #219169
monochromatic
#2D0A28 #5F1655 #912181 #C32CAD #D854C5

Accessibility & contrast

On white

7.67
#912181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#912181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912181
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912181#FFFFFF#000000##FFFFFF
##9121811.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204984
Deuteranopia (green-blind)
#49597E
Tritanopia (blue-blind)
#982B4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #912181;
/* rgb */ color: rgb(145, 33, 129);
/* oklch */ color: oklch(46.7% 0.179 334.7);
Tailwind
colors: {
  custom: {
    50: '#b569a6',
    500: '#912181',
    950: '#000000',
  },
}
SCSS
$custom: #912181;
$custom-light: #b569a6;
$custom-dark: #000000;
JSON
{
  "hex": "#912181",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 308.571,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46678,
    "c": 0.17932,
    "h": 334.7
  },
  "luminance": 0.08692
}

Semantic roles & 50–950 ramp

primary
#912181
secondary
#52BC61
accent
#E65942
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #912181

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

Preview Lab → · Contrast checker → · Palette generator →

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