#893198#893198

#893198 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.3% C 0.175 H 321.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#893198
RGBrgb(137, 49, 152)
HSLhsl(291, 51%, 39%)
HSVhsv(291, 68%, 60%)
CMYKcmyk(9.9%, 67.8%, 0%, 40.4%)
CIE-LABlab(37.45, 51.78, -38.97)
CIE-LCHlch(37.45, 64.81, 323.03°)
OKLaboklab(48.32% 0.1368 -0.1088)
OKLCHoklch(48.32% 0.175 321.5)
XYZxyz(17.0817, 9.7829, 30.6882)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893198 #409831
analogous
#563198 #893198 #983174
triadic
#893198 #988931 #319889
tetradic
#893198 #985631 #409831 #317498
square
#893198 #985631 #409831 #317498
split-complementary
#893198 #749831 #319856
monochromatic
#36133B #5F226A #893198 #B044C3 #C472D2

Accessibility & contrast

On white

7.10
#893198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#893198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #893198
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893198#FFFFFF#000000##FFFFFF
##8931981.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12529B
Deuteranopia (green-blind)
#3D5B95
Tritanopia (blue-blind)
#8A4360
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #893198;
/* rgb */ color: rgb(137, 49, 152);
/* oklch */ color: oklch(48.3% 0.175 321.5);
Tailwind
colors: {
  custom: {
    50: '#ae70b7',
    500: '#893198',
    950: '#000000',
  },
}
SCSS
$custom: #893198;
$custom-light: #ae70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#893198",
  "rgb": {
    "r": 137,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 291.262,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48318,
    "c": 0.17477,
    "h": 321.5
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#893198
secondary
#77B96B
accent
#DB4D62
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #893198

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

Preview Lab → · Contrast checker → · Palette generator →

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