#892FA7#892FA7

#892FA7 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.191 H 316.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#892FA7
RGBrgb(137, 47, 167)
HSLhsl(285, 56%, 42%)
HSVhsv(285, 72%, 65%)
CMYKcmyk(18%, 71.9%, 0%, 34.5%)
CIE-LABlab(38.10, 55.58, -46.98)
CIE-LCHlch(38.10, 72.78, 319.80°)
OKLaboklab(49.08% 0.1382 -0.1322)
OKLCHoklch(49.08% 0.191 316.3)
XYZxyz(18.3070, 10.1421, 37.5450)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892FA7 #4DA72F
analogous
#4D2FA7 #892FA7 #A72F89
triadic
#892FA7 #A7892F #2FA789
tetradic
#892FA7 #A74D2F #4DA72F #2F89A7
square
#892FA7 #A74D2F #4DA72F #2F89A7
split-complementary
#892FA7 #89A72F #2FA74D
monochromatic
#3B1447 #622277 #892FA7 #AB48CB #C178D9

Accessibility & contrast

On white

6.93
#892FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#892FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892FA7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892FA7#FFFFFF#000000##FFFFFF
##892FA71.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#2F5CA4
Tritanopia (blue-blind)
#874768
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #892fa7;
/* rgb */ color: rgb(137, 47, 167);
/* oklch */ color: oklch(49.1% 0.191 316.3);
Tailwind
colors: {
  custom: {
    50: '#af70c2',
    500: '#892fa7',
    950: '#000000',
  },
}
SCSS
$custom: #892fa7;
$custom-light: #af70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#892fa7",
  "rgb": {
    "r": 137,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 285,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49083,
    "c": 0.1912,
    "h": 316.3
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#892FA7
secondary
#85C171
accent
#DF486E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #892FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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