#892D9F#892D9F

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

Color values

HEX#892D9F
RGBrgb(137, 45, 159)
HSLhsl(288, 56%, 40%)
HSVhsv(288, 72%, 62%)
CMYKcmyk(13.8%, 71.7%, 0%, 37.6%)
CIE-LABlab(37.30, 54.78, -43.45)
CIE-LCHlch(37.30, 69.93, 321.58°)
OKLaboklab(48.35% 0.1409 -0.1218)
OKLCHoklch(48.35% 0.186 319.2)
XYZxyz(17.5121, 9.6992, 33.7439)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892D9F #439F2D
analogous
#502D9F #892D9F #9F2D7C
triadic
#892D9F #9F892D #2D9F89
tetradic
#892D9F #9F502D #439F2D #2D7C9F
square
#892D9F #9F502D #439F2D #2D7C9F
split-complementary
#892D9F #7C9F2D #2D9F50
monochromatic
#371240 #60206F #892D9F #AF40C9 #C370D6

Accessibility & contrast

On white

7.14
#892D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#892D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892D9F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892D9F#FFFFFF#000000##FFFFFF
##892D9F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #892d9f;
/* rgb */ color: rgb(137, 45, 159);
/* oklch */ color: oklch(48.3% 0.186 319.2);
Tailwind
colors: {
  custom: {
    50: '#af6fbc',
    500: '#892d9f',
    950: '#000000',
  },
}
SCSS
$custom: #892d9f;
$custom-light: #af6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#892d9f",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 288.421,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.48347,
    "c": 0.18627,
    "h": 319.2
  },
  "luminance": 0.09698
}

Semantic roles & 50–950 ramp

primary
#892D9F
secondary
#7ABE6A
accent
#DF4966
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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