#892795#892795

#892795 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.185 H 323.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#892795
RGBrgb(137, 39, 149)
HSLhsl(293, 59%, 37%)
HSVhsv(293, 74%, 58%)
CMYKcmyk(8.1%, 73.8%, 0%, 41.6%)
CIE-LABlab(35.87, 55.16, -39.67)
CIE-LCHlch(35.87, 67.94, 324.28°)
OKLaboklab(47.13% 0.1476 -0.1107)
OKLCHoklch(47.13% 0.185 323.1)
XYZxyz(16.4663, 8.9403, 29.2863)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892795 #339527
analogous
#522795 #892795 #95276A
triadic
#892795 #958927 #279589
tetradic
#892795 #955227 #339527 #276A95
square
#892795 #955227 #339527 #276A95
split-complementary
#892795 #6A9527 #279552
monochromatic
#300E34 #5C1A64 #892795 #B634C6 #C961D6

Accessibility & contrast

On white

7.53
#892795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #892795
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892795#FFFFFF#000000##FFFFFF
##8927951.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #892795;
/* rgb */ color: rgb(137, 39, 149);
/* oklch */ color: oklch(47.1% 0.185 323.1);
Tailwind
colors: {
  custom: {
    50: '#af6bb5',
    500: '#892795',
    950: '#000000',
  },
}
SCSS
$custom: #892795;
$custom-light: #af6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#892795",
  "rgb": {
    "r": 137,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 293.455,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47127,
    "c": 0.18453,
    "h": 323.1
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#892795
secondary
#67BB5D
accent
#E24657
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #892795

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

Preview Lab → · Contrast checker → · Palette generator →

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