#892799#892799

#892799 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.188 H 321.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#892799
RGBrgb(137, 39, 153)
HSLhsl(292, 59%, 38%)
HSVhsv(292, 75%, 60%)
CMYKcmyk(10.5%, 74.5%, 0%, 40%)
CIE-LABlab(36.12, 55.90, -41.71)
CIE-LCHlch(36.12, 69.75, 323.27°)
OKLaboklab(47.39% 0.1474 -0.1167)
OKLCHoklch(47.39% 0.188 321.6)
XYZxyz(16.7912, 9.0702, 30.9971)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892799 #379927
analogous
#502799 #892799 #992770
triadic
#892799 #998927 #279989
tetradic
#892799 #995027 #379927 #277099
square
#892799 #995027 #379927 #277099
split-complementary
#892799 #709927 #279950
monochromatic
#320E37 #5D1B68 #892799 #B533CA #C763D7

Accessibility & contrast

On white

7.46
#892799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#892799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892799
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892799#FFFFFF#000000##FFFFFF
##8927991.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#365996
Tritanopia (blue-blind)
#8A3D5E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #892799;
/* rgb */ color: rgb(137, 39, 153);
/* oklch */ color: oklch(47.4% 0.188 321.6);
Tailwind
colors: {
  custom: {
    50: '#af6cb8',
    500: '#892799',
    950: '#000000',
  },
}
SCSS
$custom: #892799;
$custom-light: #af6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#892799",
  "rgb": {
    "r": 137,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 291.579,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47386,
    "c": 0.18796,
    "h": 321.6
  },
  "luminance": 0.09069
}

Semantic roles & 50–950 ramp

primary
#892799
secondary
#6CBD5F
accent
#E3455B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #892799

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

Preview Lab → · Contrast checker → · Palette generator →

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