#892E9C#892E9C

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

Color values

HEX#892E9C
RGBrgb(137, 46, 156)
HSLhsl(290, 54%, 40%)
HSVhsv(290, 71%, 61%)
CMYKcmyk(12.2%, 70.5%, 0%, 38.8%)
CIE-LABlab(37.25, 53.80, -41.72)
CIE-LCHlch(37.25, 68.08, 322.21°)
OKLaboklab(48.25% 0.14 -0.1167)
OKLCHoklch(48.25% 0.182 320.2)
XYZxyz(17.2935, 9.6735, 32.4023)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892E9C #419C2E
analogous
#522E9C #892E9C #9C2E78
triadic
#892E9C #9C892E #2E9C89
tetradic
#892E9C #9C522E #419C2E #2E789C
square
#892E9C #9C522E #419C2E #2E789C
split-complementary
#892E9C #789C2E #2E9C52
monochromatic
#36123D #5F206D #892E9C #B040C7 #C370D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##892E9C#FFFFFF#000000##FFFFFF
##892E9C1.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)
#00519F
Deuteranopia (green-blind)
#385B99
Tritanopia (blue-blind)
#8A4262
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #892e9c;
/* rgb */ color: rgb(137, 46, 156);
/* oklch */ color: oklch(48.3% 0.182 320.2);
Tailwind
colors: {
  custom: {
    50: '#af6fba',
    500: '#892e9c',
    950: '#000000',
  },
}
SCSS
$custom: #892e9c;
$custom-light: #af6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#892e9c",
  "rgb": {
    "r": 137,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 289.636,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48253,
    "c": 0.18231,
    "h": 320.2
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

primary
#892E9C
secondary
#78BC6A
accent
#DE4A64
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #892E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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