#892BA2#892BA2

#892BA2 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.191 H 318.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#892BA2
RGBrgb(137, 43, 162)
HSLhsl(287, 58%, 40%)
HSVhsv(287, 73%, 64%)
CMYKcmyk(15.4%, 73.5%, 0%, 36.5%)
CIE-LABlab(37.22, 56.15, -45.39)
CIE-LCHlch(37.22, 72.20, 321.05°)
OKLaboklab(48.35% 0.1427 -0.1275)
OKLCHoklch(48.35% 0.191 318.2)
XYZxyz(17.7011, 9.6556, 35.1067)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892BA2 #44A22B
analogous
#4D2BA2 #892BA2 #A22B7F
triadic
#892BA2 #A2892B #2BA289
tetradic
#892BA2 #A24D2B #44A22B #2B7FA2
square
#892BA2 #A24D2B #44A22B #2B7FA2
split-complementary
#892BA2 #7FA22B #2BA24D
monochromatic
#371141 #601E72 #892BA2 #AE3ECC #C26FD9

Accessibility & contrast

On white

7.16
#892BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#892BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892BA2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892BA2#FFFFFF#000000##FFFFFF
##892BA21.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#315B9F
Tritanopia (blue-blind)
#884364
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #892ba2;
/* rgb */ color: rgb(137, 43, 162);
/* oklch */ color: oklch(48.4% 0.191 318.2);
Tailwind
colors: {
  custom: {
    50: '#af6ebe',
    500: '#892ba2',
    950: '#000000',
  },
}
SCSS
$custom: #892ba2;
$custom-light: #af6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#892ba2",
  "rgb": {
    "r": 137,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 287.395,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48352,
    "c": 0.19134,
    "h": 318.2
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#892BA2
secondary
#7BC069
accent
#E14767
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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