#865D98#865D98

#865D98 is a mid, moderate purple. Relative luminance 0.152; OKLCH L 54.4% C 0.101 H 315.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#865D98
RGBrgb(134, 93, 152)
HSLhsl(282, 24%, 48%)
HSVhsv(282, 39%, 60%)
CMYKcmyk(11.8%, 38.8%, 0%, 40.4%)
CIE-LABlab(45.86, 27.82, -25.77)
CIE-LCHlch(45.86, 37.92, 317.19°)
OKLaboklab(54.45% 0.0712 -0.0709)
OKLCHoklch(54.45% 0.101 315.1)
XYZxyz(19.4125, 15.1645, 31.6041)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865D98 #6F985D
analogous
#685D98 #865D98 #985D8C
triadic
#865D98 #98865D #5D9886
tetradic
#865D98 #98685D #6F985D #5D8C98
square
#865D98 #98685D #6F985D #5D8C98
split-complementary
#865D98 #8C985D #5D9868
monochromatic
#432F4C #654672 #865D98 #A381B2 #BEA7C9

Accessibility & contrast

On white

5.21
#865D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#865D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #865D98
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865D98#FFFFFF#000000##FFFFFF
##865D981.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A9A
Deuteranopia (green-blind)
#5D6E96
Tritanopia (blue-blind)
#856573
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #865d98;
/* rgb */ color: rgb(134, 93, 152);
/* oklch */ color: oklch(54.4% 0.101 315.1);
Tailwind
colors: {
  custom: {
    50: '#aa8bb6',
    500: '#865d98',
    950: '#000000',
  },
}
SCSS
$custom: #865d98;
$custom-light: #aa8bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#865d98",
  "rgb": {
    "r": 134,
    "g": 93,
    "b": 152
  },
  "hsl": {
    "h": 281.695,
    "s": 24.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54445,
    "c": 0.1005,
    "h": 315.1
  },
  "luminance": 0.15164
}

Semantic roles & 50–950 ramp

primary
#865D98
secondary
#A3B79A
accent
#C16783
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C11
muted
#7F7D80

Preview Lab

Preview with #865D98

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

Preview Lab → · Contrast checker → · Palette generator →

#865D98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva