#892BA7#892BA7

#892BA7 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.196 H 316.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#892BA7
RGBrgb(137, 43, 167)
HSLhsl(285, 59%, 41%)
HSVhsv(285, 74%, 65%)
CMYKcmyk(18%, 74.3%, 0%, 34.5%)
CIE-LABlab(37.55, 57.14, -47.86)
CIE-LCHlch(37.55, 74.53, 320.05°)
OKLaboklab(48.69% 0.1422 -0.1347)
OKLCHoklch(48.69% 0.196 316.5)
XYZxyz(18.1544, 9.8369, 37.4941)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892BA7 #49A72B
analogous
#4B2BA7 #892BA7 #A72B87
triadic
#892BA7 #A7892B #2BA789
tetradic
#892BA7 #A74B2B #49A72B #2B87A7
square
#892BA7 #A74B2B #49A72B #2B87A7
split-complementary
#892BA7 #87A72B #2BA74B
monochromatic
#391246 #611E76 #892BA7 #AC41CE #C172DB

Accessibility & contrast

On white

7.08
#892BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #892BA7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892BA7#FFFFFF#000000##FFFFFF
##892BA71.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#2B5BA4
Tritanopia (blue-blind)
#874567
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #892ba7;
/* rgb */ color: rgb(137, 43, 167);
/* oklch */ color: oklch(48.7% 0.196 316.5);
Tailwind
colors: {
  custom: {
    50: '#af6ec2',
    500: '#892ba7',
    950: '#000000',
  },
}
SCSS
$custom: #892ba7;
$custom-light: #af6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#892ba7",
  "rgb": {
    "r": 137,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 285.484,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48693,
    "c": 0.19585,
    "h": 316.5
  },
  "luminance": 0.09836
}

Semantic roles & 50–950 ramp

primary
#892BA7
secondary
#81C26C
accent
#E2466B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #892BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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