#892786#892786

#892786 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.172 H 329.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#892786
RGBrgb(137, 39, 134)
HSLhsl(302, 56%, 35%)
HSVhsv(302, 72%, 54%)
CMYKcmyk(0%, 71.5%, 2.2%, 46.3%)
CIE-LABlab(34.99, 52.49, -31.86)
CIE-LCHlch(34.99, 61.40, 328.74°)
OKLaboklab(46.21% 0.1478 -0.088)
OKLCHoklch(46.21% 0.172 329.2)
XYZxyz(15.3450, 8.4918, 23.3805)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892786 #27892A
analogous
#5B2789 #892786 #892755
triadic
#892786 #868927 #278689
tetradic
#892786 #895B27 #27892A #275589
square
#892786 #895B27 #27892A #275589
split-complementary
#892786 #558927 #27895B
monochromatic
#2A0C29 #591957 #892786 #B935B5 #D05ACD

Accessibility & contrast

On white

7.78
#892786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#892786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892786
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892786#FFFFFF#000000##FFFFFF
##8927861.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A89
Deuteranopia (green-blind)
#425784
Tritanopia (blue-blind)
#8E3454
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #892786;
/* rgb */ color: rgb(137, 39, 134);
/* oklch */ color: oklch(46.2% 0.172 329.2);
Tailwind
colors: {
  custom: {
    50: '#af6ba9',
    500: '#892786',
    950: '#000000',
  },
}
SCSS
$custom: #892786;
$custom-light: #af6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#892786",
  "rgb": {
    "r": 137,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 301.837,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46211,
    "c": 0.17197,
    "h": 329.2
  },
  "luminance": 0.08491
}

Semantic roles & 50–950 ramp

primary
#892786
secondary
#57B55A
accent
#DF4D49
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #892786

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

Preview Lab → · Contrast checker → · Palette generator →

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