#892FA2#892FA2

#892FA2 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.187 H 318.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#892FA2
RGBrgb(137, 47, 162)
HSLhsl(287, 55%, 41%)
HSVhsv(287, 71%, 64%)
CMYKcmyk(15.4%, 71%, 0%, 36.5%)
CIE-LABlab(37.77, 54.58, -44.50)
CIE-LCHlch(37.77, 70.42, 320.81°)
OKLaboklab(48.75% 0.1386 -0.1249)
OKLCHoklch(48.75% 0.187 318)
XYZxyz(17.8537, 9.9608, 35.1576)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892FA2 #48A22F
analogous
#502FA2 #892FA2 #A22F81
triadic
#892FA2 #A2892F #2FA289
tetradic
#892FA2 #A2502F #48A22F #2F81A2
square
#892FA2 #A2502F #48A22F #2F81A2
split-complementary
#892FA2 #81A22F #2FA250
monochromatic
#391343 #612173 #892FA2 #AC45C9 #C175D7

Accessibility & contrast

On white

7.02
#892FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #892FA2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892FA2#FFFFFF#000000##FFFFFF
##892FA21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#345C9F
Tritanopia (blue-blind)
#884565
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #892fa2;
/* rgb */ color: rgb(137, 47, 162);
/* oklch */ color: oklch(48.7% 0.187 318.0);
Tailwind
colors: {
  custom: {
    50: '#af70be',
    500: '#892fa2',
    950: '#000000',
  },
}
SCSS
$custom: #892fa2;
$custom-light: #af70be;
$custom-dark: #000000;
JSON
{
  "hex": "#892fa2",
  "rgb": {
    "r": 137,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 286.957,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48748,
    "c": 0.18656,
    "h": 318
  },
  "luminance": 0.0996
}

Semantic roles & 50–950 ramp

primary
#892FA2
secondary
#80BF6E
accent
#DE496A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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