#892F8A#892F8A

#892F8A is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.165 H 327.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#892F8A
RGBrgb(137, 47, 138)
HSLhsl(299, 49%, 36%)
HSVhsv(299, 66%, 54%)
CMYKcmyk(0.7%, 65.9%, 0%, 45.9%)
CIE-LABlab(36.34, 50.00, -32.18)
CIE-LCHlch(36.34, 59.46, 327.24°)
OKLaboklab(47.26% 0.1389 -0.089)
OKLCHoklch(47.26% 0.165 327.4)
XYZxyz(15.9202, 9.1874, 24.9746)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892F8A #308A2F
analogous
#5C2F8A #892F8A #8A2F5E
triadic
#892F8A #8A892F #2F8A89
tetradic
#892F8A #8A5C2F #308A2F #2F5E8A
square
#892F8A #8A5C2F #308A2F #2F5E8A
split-complementary
#892F8A #5E8A2F #2F8A5C
monochromatic
#2E102F #5C1F5C #892F8A #B63FB8 #CA68CC

Accessibility & contrast

On white

7.40
#892F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#892F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892F8A
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892F8A#FFFFFF#000000##FFFFFF
##892F8A1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8D
Deuteranopia (green-blind)
#445A88
Tritanopia (blue-blind)
#8D3B58
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #892f8a;
/* rgb */ color: rgb(137, 47, 138);
/* oklch */ color: oklch(47.3% 0.165 327.4);
Tailwind
colors: {
  custom: {
    50: '#ae6fac',
    500: '#892f8a',
    950: '#000000',
  },
}
SCSS
$custom: #892f8a;
$custom-light: #ae6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#892f8a",
  "rgb": {
    "r": 137,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 299.341,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4726,
    "c": 0.16495,
    "h": 327.4
  },
  "luminance": 0.09186
}

Semantic roles & 50–950 ramp

primary
#892F8A
secondary
#63B362
accent
#D94F51
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #892F8A

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

Preview Lab → · Contrast checker → · Palette generator →

#892F8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva