#892FA1#892FA1

#892FA1 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.186 H 318.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#892FA1
RGBrgb(137, 47, 161)
HSLhsl(287, 55%, 41%)
HSVhsv(287, 71%, 63%)
CMYKcmyk(14.9%, 70.8%, 0%, 36.9%)
CIE-LABlab(37.71, 54.38, -44.00)
CIE-LCHlch(37.71, 69.95, 321.02°)
OKLaboklab(48.68% 0.1387 -0.1234)
OKLCHoklch(48.68% 0.186 318.3)
XYZxyz(17.7652, 9.9254, 34.6913)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892FA1 #47A12F
analogous
#502FA1 #892FA1 #A12F80
triadic
#892FA1 #A1892F #2FA189
tetradic
#892FA1 #A1502F #47A12F #2F80A1
square
#892FA1 #A1502F #47A12F #2F80A1
split-complementary
#892FA1 #80A12F #2FA150
monochromatic
#381342 #612172 #892FA1 #AD45C9 #C274D6

Accessibility & contrast

On white

7.04
#892FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#892FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892FA1
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892FA1#FFFFFF#000000##FFFFFF
##892FA11.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#355C9E
Tritanopia (blue-blind)
#894565
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #892fa1;
/* rgb */ color: rgb(137, 47, 161);
/* oklch */ color: oklch(48.7% 0.186 318.3);
Tailwind
colors: {
  custom: {
    50: '#af70bd',
    500: '#892fa1',
    950: '#000000',
  },
}
SCSS
$custom: #892fa1;
$custom-light: #af70bd;
$custom-dark: #000000;
JSON
{
  "hex": "#892fa1",
  "rgb": {
    "r": 137,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 287.368,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48682,
    "c": 0.18564,
    "h": 318.3
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#892FA1
secondary
#7FBE6E
accent
#DE4A69
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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