#863198#863198

#863198 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.173 H 320.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#863198
RGBrgb(134, 49, 152)
HSLhsl(290, 51%, 39%)
HSVhsv(290, 68%, 60%)
CMYKcmyk(11.8%, 67.8%, 0%, 40.4%)
CIE-LABlab(36.99, 51.06, -39.73)
CIE-LCHlch(36.99, 64.70, 322.11°)
OKLaboklab(47.9% 0.1331 -0.1111)
OKLCHoklch(47.9% 0.173 320.2)
XYZxyz(16.5966, 9.5328, 30.6655)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#863198 #439831
analogous
#533198 #863198 #983177
triadic
#863198 #988631 #319886
tetradic
#863198 #985331 #439831 #317798
square
#863198 #985331 #439831 #317798
split-complementary
#863198 #779831 #319853
monochromatic
#34133B #5D226A #863198 #AC44C3 #C172D2

Accessibility & contrast

On white

7.23
#863198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#863198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #863198
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##863198#FFFFFF#000000##FFFFFF
##8631981.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E519B
Deuteranopia (green-blind)
#3A5A95
Tritanopia (blue-blind)
#874360
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #863198;
/* rgb */ color: rgb(134, 49, 152);
/* oklch */ color: oklch(47.9% 0.173 320.2);
Tailwind
colors: {
  custom: {
    50: '#ac70b7',
    500: '#863198',
    950: '#000000',
  },
}
SCSS
$custom: #863198;
$custom-light: #ac70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#863198",
  "rgb": {
    "r": 134,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 289.515,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47895,
    "c": 0.17337,
    "h": 320.2
  },
  "luminance": 0.09532
}

Semantic roles & 50–950 ramp

primary
#863198
secondary
#79B96B
accent
#DB4D66
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #863198

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

Preview Lab → · Contrast checker → · Palette generator →

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