#892178#892178

#892178 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.168 H 335.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#892178
RGBrgb(137, 33, 120)
HSLhsl(310, 61%, 33%)
HSVhsv(310, 76%, 54%)
CMYKcmyk(0%, 75.9%, 12.4%, 46.3%)
CIE-LABlab(33.49, 52.33, -25.48)
CIE-LCHlch(33.49, 58.20, 334.04°)
OKLaboklab(44.89% 0.1531 -0.0696)
OKLCHoklch(44.89% 0.168 335.6)
XYZxyz(14.2507, 7.7634, 18.5136)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892178 #218932
analogous
#662189 #892178 #892144
triadic
#892178 #788921 #217889
tetradic
#892178 #896621 #218932 #214489
square
#892178 #896621 #218932 #214489
split-complementary
#892178 #448921 #218966
monochromatic
#260922 #58154D #892178 #BA2DA3 #D550BF

Accessibility & contrast

On white

8.23
#892178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#892178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892178
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892178#FFFFFF#000000##FFFFFF
##8921781.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#475476
Tritanopia (blue-blind)
#90294A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #892178;
/* rgb */ color: rgb(137, 33, 120);
/* oklch */ color: oklch(44.9% 0.168 335.6);
Tailwind
colors: {
  custom: {
    50: '#af689f',
    500: '#892178',
    950: '#000000',
  },
}
SCSS
$custom: #892178;
$custom-light: #af689f;
$custom-dark: #000000;
JSON
{
  "hex": "#892178",
  "rgb": {
    "r": 137,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 309.808,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44886,
    "c": 0.16816,
    "h": 335.6
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#892178
secondary
#4EB85F
accent
#E45E44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #892178

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

Preview Lab → · Contrast checker → · Palette generator →

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