#892D9E#892D9E

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

Color values

HEX#892D9E
RGBrgb(137, 45, 158)
HSLhsl(289, 56%, 40%)
HSVhsv(289, 72%, 62%)
CMYKcmyk(13.3%, 71.5%, 0%, 38%)
CIE-LABlab(37.23, 54.59, -42.95)
CIE-LCHlch(37.23, 69.46, 321.80°)
OKLaboklab(48.28% 0.141 -0.1203)
OKLCHoklch(48.28% 0.185 319.5)
XYZxyz(17.4257, 9.6646, 33.2887)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892D9E #429E2D
analogous
#512D9E #892D9E #9E2D7A
triadic
#892D9E #9E892D #2D9E89
tetradic
#892D9E #9E512D #429E2D #2D7A9E
square
#892D9E #9E512D #429E2D #2D7A9E
split-complementary
#892D9E #7A9E2D #2D9E51
monochromatic
#36123F #601F6E #892D9E #AF40C9 #C36FD6

Accessibility & contrast

On white

7.16
#892D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#892D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892D9E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892D9E#FFFFFF#000000##FFFFFF
##892D9E1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#365B9B
Tritanopia (blue-blind)
#894262
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #892d9e;
/* rgb */ color: rgb(137, 45, 158);
/* oklch */ color: oklch(48.3% 0.185 319.5);
Tailwind
colors: {
  custom: {
    50: '#af6fbb',
    500: '#892d9e',
    950: '#000000',
  },
}
SCSS
$custom: #892d9e;
$custom-light: #af6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#892d9e",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 288.85,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48282,
    "c": 0.18536,
    "h": 319.5
  },
  "luminance": 0.09664
}

Semantic roles & 50–950 ramp

primary
#892D9E
secondary
#79BD69
accent
#DF4965
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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