#892286#892286

#892286 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.178 H 329.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#892286
RGBrgb(137, 34, 134)
HSLhsl(302, 60%, 34%)
HSVhsv(302, 75%, 54%)
CMYKcmyk(0%, 75.2%, 2.2%, 46.3%)
CIE-LABlab(34.36, 54.26, -32.84)
CIE-LCHlch(34.36, 63.42, 328.81°)
OKLaboklab(45.76% 0.1528 -0.0908)
OKLCHoklch(45.76% 0.178 329.3)
XYZxyz(15.1915, 8.1848, 23.3293)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892286 #228925
analogous
#582289 #892286 #892252
triadic
#892286 #868922 #228689
tetradic
#892286 #895822 #228925 #225289
square
#892286 #895822 #228925 #225289
split-complementary
#892286 #528922 #228958
monochromatic
#270A26 #581656 #892286 #BA2EB6 #D451D0

Accessibility & contrast

On white

7.96
#892286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#892286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892286
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892286#FFFFFF#000000##FFFFFF
##8922861.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124889
Deuteranopia (green-blind)
#405683
Tritanopia (blue-blind)
#8E3152
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #892286;
/* rgb */ color: rgb(137, 34, 134);
/* oklch */ color: oklch(45.8% 0.178 329.3);
Tailwind
colors: {
  custom: {
    50: '#af69a9',
    500: '#892286',
    950: '#000000',
  },
}
SCSS
$custom: #892286;
$custom-light: #af69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#892286",
  "rgb": {
    "r": 137,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 301.748,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.17775,
    "h": 329.3
  },
  "luminance": 0.08184
}

Semantic roles & 50–950 ramp

primary
#892286
secondary
#4FB852
accent
#E34944
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #892286

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

Preview Lab → · Contrast checker → · Palette generator →

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