#892F8D#892F8D

#892F8D is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.4% C 0.168 H 326.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#892F8D
RGBrgb(137, 47, 141)
HSLhsl(297, 50%, 37%)
HSVhsv(297, 67%, 55%)
CMYKcmyk(2.8%, 66.7%, 0%, 44.7%)
CIE-LABlab(36.51, 50.55, -33.76)
CIE-LCHlch(36.51, 60.79, 326.26°)
OKLaboklab(47.44% 0.139 -0.0936)
OKLCHoklch(47.44% 0.168 326.1)
XYZxyz(16.1404, 9.2755, 26.1344)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892F8D #338D2F
analogous
#5A2F8D #892F8D #8D2F62
triadic
#892F8D #8D892F #2F8D89
tetradic
#892F8D #8D5A2F #338D2F #2F628D
square
#892F8D #8D5A2F #338D2F #2F628D
split-complementary
#892F8D #628D2F #2F8D5A
monochromatic
#301031 #5C205F #892F8D #B63EBB #C969CD

Accessibility & contrast

On white

7.36
#892F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#892F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892F8D
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892F8D#FFFFFF#000000##FFFFFF
##892F8D1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#435A8B
Tritanopia (blue-blind)
#8C3D5A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #892f8d;
/* rgb */ color: rgb(137, 47, 141);
/* oklch */ color: oklch(47.4% 0.168 326.1);
Tailwind
colors: {
  custom: {
    50: '#ae6faf',
    500: '#892f8d',
    950: '#000000',
  },
}
SCSS
$custom: #892f8d;
$custom-light: #ae6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#892f8d",
  "rgb": {
    "r": 137,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 297.447,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47435,
    "c": 0.16758,
    "h": 326.1
  },
  "luminance": 0.09274
}

Semantic roles & 50–950 ramp

primary
#892F8D
secondary
#67B464
accent
#DA4E54
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #892F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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