#921781#921781

#921781 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.189 H 334.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#921781
RGBrgb(146, 23, 129)
HSLhsl(308, 73%, 33%)
HSVhsv(308, 84%, 57%)
CMYKcmyk(0%, 84.2%, 11.6%, 42.7%)
CIE-LABlab(34.62, 58.59, -29.22)
CIE-LCHlch(34.62, 65.47, 333.49°)
OKLaboklab(46.16% 0.1712 -0.08)
OKLCHoklch(46.16% 0.189 334.9)
XYZxyz(16.1231, 8.3103, 21.5195)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#921781 #179228
analogous
#651792 #921781 #921743
triadic
#921781 #819217 #178192
tetradic
#921781 #926517 #179228 #174392
square
#921781 #926517 #179228 #174392
split-complementary
#921781 #439217 #179265
monochromatic
#280624 #5D0F52 #921781 #C71FB0 #E142CB

Accessibility & contrast

On white

7.89
#921781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#921781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #921781
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##921781#FFFFFF#000000##FFFFFF
##9217811.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164684
Deuteranopia (green-blind)
#47587E
Tritanopia (blue-blind)
#9A244D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #921781;
/* rgb */ color: rgb(146, 23, 129);
/* oklch */ color: oklch(46.2% 0.189 334.9);
Tailwind
colors: {
  custom: {
    50: '#b666a6',
    500: '#921781',
    950: '#000000',
  },
}
SCSS
$custom: #921781;
$custom-light: #b666a6;
$custom-dark: #000000;
JSON
{
  "hex": "#921781",
  "rgb": {
    "r": 146,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 308.293,
    "s": 72.781,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46163,
    "c": 0.18898,
    "h": 334.9
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#921781
secondary
#43C254
accent
#EF5238
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #921781

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

Preview Lab → · Contrast checker → · Palette generator →

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