#892381#892381

#892381 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.173 H 331.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#892381
RGBrgb(137, 35, 129)
HSLhsl(305, 59%, 34%)
HSVhsv(305, 74%, 54%)
CMYKcmyk(0%, 74.5%, 5.8%, 46.3%)
CIE-LABlab(34.20, 53.08, -29.99)
CIE-LCHlch(34.20, 60.97, 330.54°)
OKLaboklab(45.56% 0.1517 -0.0825)
OKLCHoklch(45.56% 0.173 331.4)
XYZxyz(14.8800, 8.1066, 21.5456)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892381 #23892B
analogous
#5E2389 #892381 #89234E
triadic
#892381 #818923 #238189
tetradic
#892381 #895E23 #23892B #234E89
square
#892381 #895E23 #23892B #234E89
split-complementary
#892381 #4E8923 #23895E
monochromatic
#280A25 #581753 #892381 #BA2FAF #D353C9

Accessibility & contrast

On white

8.01
#892381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#892381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892381
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892381#FFFFFF#000000##FFFFFF
##8923811.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4784
Deuteranopia (green-blind)
#43557F
Tritanopia (blue-blind)
#8F2F50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #892381;
/* rgb */ color: rgb(137, 35, 129);
/* oklch */ color: oklch(45.6% 0.173 331.4);
Tailwind
colors: {
  custom: {
    50: '#af69a6',
    500: '#892381',
    950: '#000000',
  },
}
SCSS
$custom: #892381;
$custom-light: #af69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#892381",
  "rgb": {
    "r": 137,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 304.706,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45558,
    "c": 0.17271,
    "h": 331.4
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#892381
secondary
#51B759
accent
#E25245
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #892381

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

Preview Lab → · Contrast checker → · Palette generator →

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