#892CAB#892CAB

#892CAB is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.198 H 315.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#892CAB
RGBrgb(137, 44, 171)
HSLhsl(284, 59%, 42%)
HSVhsv(284, 74%, 67%)
CMYKcmyk(19.9%, 74.3%, 0%, 32.9%)
CIE-LABlab(37.95, 57.57, -49.60)
CIE-LCHlch(37.95, 75.99, 319.25°)
OKLaboklab(49.07% 0.1407 -0.1398)
OKLCHoklch(49.07% 0.198 315.2)
XYZxyz(18.5667, 10.0607, 39.4841)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892CAB #4EAB2C
analogous
#4A2CAB #892CAB #AB2C8E
triadic
#892CAB #AB892C #2CAB89
tetradic
#892CAB #AB4A2C #4EAB2C #2C8EAB
square
#892CAB #AB4A2C #4EAB2C #2C8EAB
split-complementary
#892CAB #8EAB2C #2CAB4A
monochromatic
#3B134A #621F7A #892CAB #AA45CF #C076DC

Accessibility & contrast

On white

6.97
#892CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#892CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892CAB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892CAB#FFFFFF#000000##FFFFFF
##892CAB1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#275CA8
Tritanopia (blue-blind)
#864869
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #892cab;
/* rgb */ color: rgb(137, 44, 171);
/* oklch */ color: oklch(49.1% 0.198 315.2);
Tailwind
colors: {
  custom: {
    50: '#af6fc5',
    500: '#892cab',
    950: '#000000',
  },
}
SCSS
$custom: #892cab;
$custom-light: #af6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#892cab",
  "rgb": {
    "r": 137,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 283.937,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49065,
    "c": 0.19837,
    "h": 315.2
  },
  "luminance": 0.1006
}

Semantic roles & 50–950 ramp

primary
#892CAB
secondary
#86C36F
accent
#E2466F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #892CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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