#892F9D#892F9D

#892F9D is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.182 H 319.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#892F9D
RGBrgb(137, 47, 157)
HSLhsl(289, 54%, 40%)
HSVhsv(289, 70%, 62%)
CMYKcmyk(12.7%, 70.1%, 0%, 38.4%)
CIE-LABlab(37.46, 53.59, -41.99)
CIE-LCHlch(37.46, 68.08, 321.92°)
OKLaboklab(48.42% 0.1389 -0.1175)
OKLCHoklch(48.42% 0.182 319.8)
XYZxyz(17.4181, 9.7866, 32.8633)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892F9D #439D2F
analogous
#522F9D #892F9D #9D2F7A
triadic
#892F9D #9D892F #2F9D89
tetradic
#892F9D #9D522F #439D2F #2F7A9D
square
#892F9D #9D522F #439D2F #2F7A9D
split-complementary
#892F9D #7A9D2F #2F9D52
monochromatic
#37133F #60216E #892F9D #AF43C7 #C372D5

Accessibility & contrast

On white

7.10
#892F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#892F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892F9D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892F9D#FFFFFF#000000##FFFFFF
##892F9D1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #892f9d;
/* rgb */ color: rgb(137, 47, 157);
/* oklch */ color: oklch(48.4% 0.182 319.8);
Tailwind
colors: {
  custom: {
    50: '#af70ba',
    500: '#892f9d',
    950: '#000000',
  },
}
SCSS
$custom: #892f9d;
$custom-light: #af70ba;
$custom-dark: #000000;
JSON
{
  "hex": "#892f9d",
  "rgb": {
    "r": 137,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 289.091,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.18196,
    "h": 319.8
  },
  "luminance": 0.09786
}

Semantic roles & 50–950 ramp

primary
#892F9D
secondary
#7ABC6B
accent
#DD4B65
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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