#892C9E#892C9E

#892C9E is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.187 H 319.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#892C9E
RGBrgb(137, 44, 158)
HSLhsl(289, 56%, 40%)
HSVhsv(289, 72%, 62%)
CMYKcmyk(13.3%, 72.2%, 0%, 38%)
CIE-LABlab(37.09, 54.98, -43.17)
CIE-LCHlch(37.09, 69.91, 321.86°)
OKLaboklab(48.18% 0.142 -0.121)
OKLCHoklch(48.18% 0.187 319.6)
XYZxyz(17.3880, 9.5892, 33.2761)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892C9E #419E2C
analogous
#502C9E #892C9E #9E2C7A
triadic
#892C9E #9E892C #2C9E89
tetradic
#892C9E #9E502C #419E2C #2C7A9E
square
#892C9E #9E502C #419E2C #2C7A9E
split-complementary
#892C9E #7A9E2C #2C9E50
monochromatic
#36113E #5F1F6E #892C9E #B03EC9 #C36ED7

Accessibility & contrast

On white

7.20
#892C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#892C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892C9E
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892C9E#FFFFFF#000000##FFFFFF
##892C9E1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#355A9B
Tritanopia (blue-blind)
#894262
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #892c9e;
/* rgb */ color: rgb(137, 44, 158);
/* oklch */ color: oklch(48.2% 0.187 319.6);
Tailwind
colors: {
  custom: {
    50: '#af6ebb',
    500: '#892c9e',
    950: '#000000',
  },
}
SCSS
$custom: #892c9e;
$custom-light: #af6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#892c9e",
  "rgb": {
    "r": 137,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 288.947,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48183,
    "c": 0.18657,
    "h": 319.6
  },
  "luminance": 0.09588
}

Semantic roles & 50–950 ramp

primary
#892C9E
secondary
#78BE68
accent
#E04864
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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