#892E8D#892E8D

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

Color values

HEX#892E8D
RGBrgb(137, 46, 141)
HSLhsl(297, 51%, 37%)
HSVhsv(297, 67%, 55%)
CMYKcmyk(2.8%, 67.4%, 0%, 44.7%)
CIE-LABlab(36.36, 50.97, -34.00)
CIE-LCHlch(36.36, 61.27, 326.30°)
OKLaboklab(47.33% 0.1402 -0.0942)
OKLCHoklch(47.33% 0.169 326.1)
XYZxyz(16.1009, 9.1965, 26.1212)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892E8D #328D2E
analogous
#5A2E8D #892E8D #8D2E62
triadic
#892E8D #8D892E #2E8D89
tetradic
#892E8D #8D5A2E #328D2E #2E628D
square
#892E8D #8D5A2E #328D2E #2E628D
split-complementary
#892E8D #628D2E #2E8D5A
monochromatic
#2F1031 #5C1F5F #892E8D #B63DBB #C968CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##892E8D#FFFFFF#000000##FFFFFF
##892E8D1.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)
#1D4E90
Deuteranopia (green-blind)
#425A8B
Tritanopia (blue-blind)
#8D3C59
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #892e8d;
/* rgb */ color: rgb(137, 46, 141);
/* oklch */ color: oklch(47.3% 0.169 326.1);
Tailwind
colors: {
  custom: {
    50: '#ae6eaf',
    500: '#892e8d',
    950: '#000000',
  },
}
SCSS
$custom: #892e8d;
$custom-light: #ae6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#892e8d",
  "rgb": {
    "r": 137,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 297.474,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47327,
    "c": 0.16893,
    "h": 326.1
  },
  "luminance": 0.09195
}

Semantic roles & 50–950 ramp

primary
#892E8D
secondary
#66B562
accent
#DA4E53
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #892E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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