#892BA1#892BA1

#892BA1 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.190 H 318.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#892BA1
RGBrgb(137, 43, 161)
HSLhsl(288, 58%, 40%)
HSVhsv(288, 73%, 63%)
CMYKcmyk(14.9%, 73.3%, 0%, 36.9%)
CIE-LABlab(37.15, 55.95, -44.89)
CIE-LCHlch(37.15, 71.74, 321.26°)
OKLaboklab(48.29% 0.1428 -0.126)
OKLCHoklch(48.29% 0.19 318.6)
XYZxyz(17.6126, 9.6201, 34.6404)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892BA1 #43A12B
analogous
#4E2BA1 #892BA1 #A12B7E
triadic
#892BA1 #A1892B #2BA189
tetradic
#892BA1 #A14E2B #43A12B #2B7EA1
square
#892BA1 #A14E2B #43A12B #2B7EA1
split-complementary
#892BA1 #7EA12B #2BA14E
monochromatic
#371140 #601E71 #892BA1 #AF3ECB #C36ED8

Accessibility & contrast

On white

7.18
#892BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#892BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892BA1
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892BA1#FFFFFF#000000##FFFFFF
##892BA11.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#325A9E
Tritanopia (blue-blind)
#894364
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #892ba1;
/* rgb */ color: rgb(137, 43, 161);
/* oklch */ color: oklch(48.3% 0.190 318.6);
Tailwind
colors: {
  custom: {
    50: '#af6ebd',
    500: '#892ba1',
    950: '#000000',
  },
}
SCSS
$custom: #892ba1;
$custom-light: #af6ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#892ba1",
  "rgb": {
    "r": 137,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 287.797,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.48285,
    "c": 0.19045,
    "h": 318.6
  },
  "luminance": 0.09619
}

Semantic roles & 50–950 ramp

primary
#892BA1
secondary
#7ABF69
accent
#E14766
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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