#892F9F#892F9F

#892F9F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.184 H 319.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#892F9F
RGBrgb(137, 47, 159)
HSLhsl(288, 54%, 40%)
HSVhsv(288, 70%, 62%)
CMYKcmyk(13.8%, 70.4%, 0%, 37.6%)
CIE-LABlab(37.58, 53.98, -43.00)
CIE-LCHlch(37.58, 69.01, 321.46°)
OKLaboklab(48.55% 0.1388 -0.1205)
OKLCHoklch(48.55% 0.184 319)
XYZxyz(17.5902, 9.8554, 33.7699)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892F9F #459F2F
analogous
#512F9F #892F9F #9F2F7D
triadic
#892F9F #9F892F #2F9F89
tetradic
#892F9F #9F512F #459F2F #2F7D9F
square
#892F9F #9F512F #459F2F #2F7D9F
split-complementary
#892F9F #7D9F2F #2F9F51
monochromatic
#381341 #602170 #892F9F #AE44C8 #C273D6

Accessibility & contrast

On white

7.07
#892F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#892F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892F9F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892F9F#FFFFFF#000000##FFFFFF
##892F9F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#365B9C
Tritanopia (blue-blind)
#894464
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #892f9f;
/* rgb */ color: rgb(137, 47, 159);
/* oklch */ color: oklch(48.6% 0.184 319.0);
Tailwind
colors: {
  custom: {
    50: '#af70bc',
    500: '#892f9f',
    950: '#000000',
  },
}
SCSS
$custom: #892f9f;
$custom-light: #af70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#892f9f",
  "rgb": {
    "r": 137,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 288.214,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48551,
    "c": 0.1838,
    "h": 319
  },
  "luminance": 0.09855
}

Semantic roles & 50–950 ramp

primary
#892F9F
secondary
#7CBD6D
accent
#DE4A67
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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