#892287#892287

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

Color values

HEX#892287
RGBrgb(137, 34, 135)
HSLhsl(301, 60%, 34%)
HSVhsv(301, 75%, 54%)
CMYKcmyk(0%, 75.2%, 1.5%, 46.3%)
CIE-LABlab(34.42, 54.43, -33.37)
CIE-LCHlch(34.42, 63.84, 328.49°)
OKLaboklab(45.82% 0.1528 -0.0923)
OKLCHoklch(45.82% 0.179 328.9)
XYZxyz(15.2616, 8.2128, 23.6984)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892287 #228924
analogous
#572289 #892287 #892253
triadic
#892287 #878922 #228789
tetradic
#892287 #895722 #228924 #225389
square
#892287 #895722 #228924 #225389
split-complementary
#892287 #538922 #228957
monochromatic
#270A26 #581657 #892287 #BA2EB7 #D451D1

Accessibility & contrast

On white

7.95
#892287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #892287
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892287#FFFFFF#000000##FFFFFF
##8922871.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10488A
Deuteranopia (green-blind)
#3F5684
Tritanopia (blue-blind)
#8E3153
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #892287;
/* rgb */ color: rgb(137, 34, 135);
/* oklch */ color: oklch(45.8% 0.179 328.9);
Tailwind
colors: {
  custom: {
    50: '#af69aa',
    500: '#892287',
    950: '#000000',
  },
}
SCSS
$custom: #892287;
$custom-light: #af69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#892287",
  "rgb": {
    "r": 137,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 301.165,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45824,
    "c": 0.17855,
    "h": 328.9
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#892287
secondary
#4FB851
accent
#E34844
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #892287

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

Preview Lab → · Contrast checker → · Palette generator →

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