#892CA7#892CA7

#892CA7 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.195 H 316.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#892CA7
RGBrgb(137, 44, 167)
HSLhsl(285, 58%, 41%)
HSVhsv(285, 74%, 65%)
CMYKcmyk(18%, 73.7%, 0%, 34.5%)
CIE-LABlab(37.68, 56.76, -47.65)
CIE-LCHlch(37.68, 74.11, 319.99°)
OKLaboklab(48.79% 0.1412 -0.1341)
OKLCHoklch(48.79% 0.195 316.5)
XYZxyz(18.1912, 9.9105, 37.5064)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892CA7 #4AA72C
analogous
#4C2CA7 #892CA7 #A72C88
triadic
#892CA7 #A7892C #2CA789
tetradic
#892CA7 #A74C2C #4AA72C #2C88A7
square
#892CA7 #A74C2C #4AA72C #2C88A7
split-complementary
#892CA7 #88A72C #2CA74C
monochromatic
#3A1246 #611F77 #892CA7 #AC43CD #C173DA

Accessibility & contrast

On white

7.04
#892CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#892CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892CA7
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892CA7#FFFFFF#000000##FFFFFF
##892CA71.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#2C5BA4
Tritanopia (blue-blind)
#874667
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #892ca7;
/* rgb */ color: rgb(137, 44, 167);
/* oklch */ color: oklch(48.8% 0.195 316.5);
Tailwind
colors: {
  custom: {
    50: '#af6ec2',
    500: '#892ca7',
    950: '#000000',
  },
}
SCSS
$custom: #892ca7;
$custom-light: #af6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#892ca7",
  "rgb": {
    "r": 137,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 285.366,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48788,
    "c": 0.19472,
    "h": 316.5
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#892CA7
secondary
#82C26D
accent
#E2466C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #892CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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