#892796#892796

#892796 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.185 H 322.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#892796
RGBrgb(137, 39, 150)
HSLhsl(293, 59%, 37%)
HSVhsv(293, 74%, 59%)
CMYKcmyk(8.7%, 74%, 0%, 41.2%)
CIE-LABlab(35.93, 55.34, -40.18)
CIE-LCHlch(35.93, 68.39, 324.02°)
OKLaboklab(47.19% 0.1476 -0.1122)
OKLCHoklch(47.19% 0.185 322.7)
XYZxyz(16.5465, 8.9724, 29.7085)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892796 #349627
analogous
#522796 #892796 #96276C
triadic
#892796 #968927 #279689
tetradic
#892796 #965227 #349627 #276C96
square
#892796 #965227 #349627 #276C96
split-complementary
#892796 #6C9627 #279652
monochromatic
#300E35 #5D1A65 #892796 #B534C7 #C861D6

Accessibility & contrast

On white

7.52
#892796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#892796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892796
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892796#FFFFFF#000000##FFFFFF
##8927961.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#385893
Tritanopia (blue-blind)
#8B3B5C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #892796;
/* rgb */ color: rgb(137, 39, 150);
/* oklch */ color: oklch(47.2% 0.185 322.7);
Tailwind
colors: {
  custom: {
    50: '#af6cb5',
    500: '#892796',
    950: '#000000',
  },
}
SCSS
$custom: #892796;
$custom-light: #af6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#892796",
  "rgb": {
    "r": 137,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 292.973,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47191,
    "c": 0.18538,
    "h": 322.7
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

primary
#892796
secondary
#68BC5D
accent
#E24658
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #892796

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

Preview Lab → · Contrast checker → · Palette generator →

#892796 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva