#892278#892278

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

Color values

HEX#892278
RGBrgb(137, 34, 120)
HSLhsl(310, 60%, 34%)
HSVhsv(310, 75%, 54%)
CMYKcmyk(0%, 75.2%, 12.4%, 46.3%)
CIE-LABlab(33.60, 51.99, -25.29)
CIE-LCHlch(33.60, 57.81, 334.06°)
OKLaboklab(44.97% 0.1521 -0.069)
OKLCHoklch(44.97% 0.167 335.6)
XYZxyz(14.2789, 7.8198, 18.5230)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892278 #228933
analogous
#662289 #892278 #892244
triadic
#892278 #788922 #227889
tetradic
#892278 #896622 #228933 #224489
square
#892278 #896622 #228933 #224489
split-complementary
#892278 #448922 #228966
monochromatic
#270A22 #58164D #892278 #BA2EA3 #D451BE

Accessibility & contrast

On white

8.19
#892278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#892278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892278
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892278#FFFFFF#000000##FFFFFF
##8922781.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23457A
Deuteranopia (green-blind)
#475476
Tritanopia (blue-blind)
#902A4A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #892278;
/* rgb */ color: rgb(137, 34, 120);
/* oklch */ color: oklch(45.0% 0.167 335.6);
Tailwind
colors: {
  custom: {
    50: '#af689f',
    500: '#892278',
    950: '#000000',
  },
}
SCSS
$custom: #892278;
$custom-light: #af689f;
$custom-dark: #000000;
JSON
{
  "hex": "#892278",
  "rgb": {
    "r": 137,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 309.903,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44972,
    "c": 0.16702,
    "h": 335.6
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#892278
secondary
#4FB860
accent
#E35F44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #892278

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

Preview Lab → · Contrast checker → · Palette generator →

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