#892D8E#892D8E

#892D8E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.171 H 325.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#892D8E
RGBrgb(137, 45, 142)
HSLhsl(297, 52%, 37%)
HSVhsv(297, 68%, 56%)
CMYKcmyk(3.5%, 68.3%, 0%, 44.3%)
CIE-LABlab(36.27, 51.56, -34.75)
CIE-LCHlch(36.27, 62.18, 326.02°)
OKLaboklab(47.28% 0.1414 -0.0964)
OKLCHoklch(47.28% 0.171 325.7)
XYZxyz(16.1371, 9.1492, 26.5019)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892D8E #328E2D
analogous
#592D8E #892D8E #8E2D63
triadic
#892D8E #8E892D #2D8E89
tetradic
#892D8E #8E592D #328E2D #2D638E
square
#892D8E #8E592D #328E2D #2D638E
split-complementary
#892D8E #638E2D #2D8E59
monochromatic
#2F1031 #5C1E60 #892D8E #B63CBC #C967CF

Accessibility & contrast

On white

7.42
#892D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#892D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892D8E
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892D8E#FFFFFF#000000##FFFFFF
##892D8E1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E91
Deuteranopia (green-blind)
#41598C
Tritanopia (blue-blind)
#8C3C5A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #892d8e;
/* rgb */ color: rgb(137, 45, 142);
/* oklch */ color: oklch(47.3% 0.171 325.7);
Tailwind
colors: {
  custom: {
    50: '#ae6eaf',
    500: '#892d8e',
    950: '#000000',
  },
}
SCSS
$custom: #892d8e;
$custom-light: #ae6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#892d8e",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 296.907,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4728,
    "c": 0.17112,
    "h": 325.7
  },
  "luminance": 0.09148
}

Semantic roles & 50–950 ramp

primary
#892D8E
secondary
#66B561
accent
#DB4C54
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #892D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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