#892F9B#892F9B

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

Color values

HEX#892F9B
RGBrgb(137, 47, 155)
HSLhsl(290, 53%, 40%)
HSVhsv(290, 70%, 61%)
CMYKcmyk(11.6%, 69.7%, 0%, 39.2%)
CIE-LABlab(37.33, 53.20, -40.98)
CIE-LCHlch(37.33, 67.15, 322.39°)
OKLaboklab(48.29% 0.139 -0.1146)
OKLCHoklch(48.29% 0.18 320.5)
XYZxyz(17.2487, 9.7188, 31.9714)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892F9B #419B2F
analogous
#532F9B #892F9B #9B2F77
triadic
#892F9B #9B892F #2F9B89
tetradic
#892F9B #9B532F #419B2F #2F779B
square
#892F9B #9B532F #419B2F #2F779B
split-complementary
#892F9B #779B2F #2F9B53
monochromatic
#36133D #5F216C #892F9B #B042C6 #C371D4

Accessibility & contrast

On white

7.13
#892F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #892F9B
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892F9B#FFFFFF#000000##FFFFFF
##892F9B1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03529E
Deuteranopia (green-blind)
#3A5B98
Tritanopia (blue-blind)
#8A4261
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #892f9b;
/* rgb */ color: rgb(137, 47, 155);
/* oklch */ color: oklch(48.3% 0.180 320.5);
Tailwind
colors: {
  custom: {
    50: '#af6fb9',
    500: '#892f9b',
    950: '#000000',
  },
}
SCSS
$custom: #892f9b;
$custom-light: #af6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#892f9b",
  "rgb": {
    "r": 137,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 290,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48293,
    "c": 0.18013,
    "h": 320.5
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

primary
#892F9B
secondary
#78BB6A
accent
#DD4B63
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #892F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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