#865EB7#865EB7

#865EB7 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.3% C 0.138 H 303.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#865EB7
RGBrgb(134, 94, 183)
HSLhsl(267, 38%, 54%)
HSVhsv(267, 49%, 72%)
CMYKcmyk(26.8%, 48.6%, 0%, 28.2%)
CIE-LABlab(47.61, 34.55, -41.25)
CIE-LCHlch(47.61, 53.81, 309.95°)
OKLaboklab(56.26% 0.0751 -0.1157)
OKLCHoklch(56.26% 0.138 303)
XYZxyz(22.3796, 16.4927, 46.7950)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865EB7 #8FB75E
analogous
#5E63B7 #865EB7 #B25EB7
triadic
#865EB7 #B7865E #5EB786
tetradic
#865EB7 #B75E63 #8FB75E #5EB7B2
square
#865EB7 #B75E63 #8FB75E #5EB7B2
split-complementary
#865EB7 #B7B25E #63B75E
monochromatic
#4A306B #684395 #865EB7 #A688CA #C6B3DD

Accessibility & contrast

On white

4.89
#865EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#865EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #865EB7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865EB7#FFFFFF#000000##FFFFFF
##865EB71.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4470BA
Deuteranopia (green-blind)
#4E71B5
Tritanopia (blue-blind)
#7D6E82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #865eb7;
/* rgb */ color: rgb(134, 94, 183);
/* oklch */ color: oklch(56.3% 0.138 303.0);
Tailwind
colors: {
  custom: {
    50: '#ab8ccd',
    500: '#865eb7',
    950: '#000000',
  },
}
SCSS
$custom: #865eb7;
$custom-light: #ab8ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#865eb7",
  "rgb": {
    "r": 134,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 266.966,
    "s": 38.197,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5626,
    "c": 0.13795,
    "h": 303
  },
  "luminance": 0.16493
}

Semantic roles & 50–950 ramp

primary
#865EB7
secondary
#BACBA6
accent
#CE5A9A
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #865EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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