#892CA2#892CA2

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

Color values

HEX#892CA2
RGBrgb(137, 44, 162)
HSLhsl(287, 57%, 40%)
HSVhsv(287, 73%, 64%)
CMYKcmyk(15.4%, 72.8%, 0%, 36.5%)
CIE-LABlab(37.35, 55.77, -45.17)
CIE-LCHlch(37.35, 71.77, 320.99°)
OKLaboklab(48.45% 0.1417 -0.1268)
OKLCHoklch(48.45% 0.19 318.2)
XYZxyz(17.7379, 9.7292, 35.1190)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892CA2 #45A22C
analogous
#4E2CA2 #892CA2 #A22C80
triadic
#892CA2 #A2892C #2CA289
tetradic
#892CA2 #A24E2C #45A22C #2C80A2
square
#892CA2 #A24E2C #45A22C #2C80A2
split-complementary
#892CA2 #80A22C #2CA24E
monochromatic
#381242 #601F72 #892CA2 #AE40CB #C270D8

Accessibility & contrast

On white

7.13
#892CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#892CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892CA2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892CA2#FFFFFF#000000##FFFFFF
##892CA21.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #892ca2;
/* rgb */ color: rgb(137, 44, 162);
/* oklch */ color: oklch(48.4% 0.190 318.2);
Tailwind
colors: {
  custom: {
    50: '#af6ebe',
    500: '#892ca2',
    950: '#000000',
  },
}
SCSS
$custom: #892ca2;
$custom-light: #af6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#892ca2",
  "rgb": {
    "r": 137,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 287.288,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48448,
    "c": 0.19018,
    "h": 318.2
  },
  "luminance": 0.09728
}

Semantic roles & 50–950 ramp

primary
#892CA2
secondary
#7CBF6A
accent
#E14768
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #892CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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