#892E9D#892E9D

#892E9D is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.183 H 319.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#892E9D
RGBrgb(137, 46, 157)
HSLhsl(289, 55%, 40%)
HSVhsv(289, 71%, 62%)
CMYKcmyk(12.7%, 70.7%, 0%, 38.4%)
CIE-LABlab(37.31, 53.99, -42.22)
CIE-LCHlch(37.31, 68.54, 321.98°)
OKLaboklab(48.32% 0.14 -0.1182)
OKLCHoklch(48.32% 0.183 319.8)
XYZxyz(17.3786, 9.7075, 32.8501)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892E9D #429D2E
analogous
#512E9D #892E9D #9D2E7A
triadic
#892E9D #9D892E #2E9D89
tetradic
#892E9D #9D512E #429D2E #2E7A9D
square
#892E9D #9D512E #429D2E #2E7A9D
split-complementary
#892E9D #7A9D2E #2E9D51
monochromatic
#36123E #60206E #892E9D #AF41C7 #C370D5

Accessibility & contrast

On white

7.14
#892E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#892E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892E9D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892E9D#FFFFFF#000000##FFFFFF
##892E9D1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#375B9A
Tritanopia (blue-blind)
#894362
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #892e9d;
/* rgb */ color: rgb(137, 46, 157);
/* oklch */ color: oklch(48.3% 0.183 319.8);
Tailwind
colors: {
  custom: {
    50: '#af6fba',
    500: '#892e9d',
    950: '#000000',
  },
}
SCSS
$custom: #892e9d;
$custom-light: #af6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#892e9d",
  "rgb": {
    "r": 137,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 289.189,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48318,
    "c": 0.18322,
    "h": 319.8
  },
  "luminance": 0.09707
}

Semantic roles & 50–950 ramp

primary
#892E9D
secondary
#79BD6A
accent
#DE4A64
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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