#865EB2#865EB2

#865EB2 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.0% C 0.132 H 304.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#865EB2
RGBrgb(134, 94, 178)
HSLhsl(269, 35%, 53%)
HSVhsv(269, 47%, 70%)
CMYKcmyk(24.7%, 47.2%, 0%, 30.2%)
CIE-LABlab(47.35, 33.32, -38.75)
CIE-LCHlch(47.35, 51.11, 310.69°)
OKLaboklab(55.98% 0.0745 -0.1084)
OKLCHoklch(55.98% 0.132 304.5)
XYZxyz(21.8684, 16.2882, 44.1027)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865EB2 #8AB25E
analogous
#5E60B2 #865EB2 #B05EB2
triadic
#865EB2 #B2865E #5EB286
tetradic
#865EB2 #B25E60 #8AB25E #5EB2B0
square
#865EB2 #B25E60 #8AB25E #5EB2B0
split-complementary
#865EB2 #B2B05E #60B25E
monochromatic
#4A3065 #68448F #865EB2 #A587C6 #C4B1DA

Accessibility & contrast

On white

4.93
#865EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#865EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #865EB2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865EB2#FFFFFF#000000##FFFFFF
##865EB21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#5170B0
Tritanopia (blue-blind)
#7F6C7F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #865eb2;
/* rgb */ color: rgb(134, 94, 178);
/* oklch */ color: oklch(56.0% 0.132 304.5);
Tailwind
colors: {
  custom: {
    50: '#ab8cc9',
    500: '#865eb2',
    950: '#000000',
  },
}
SCSS
$custom: #865eb2;
$custom-light: #ab8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#865eb2",
  "rgb": {
    "r": 134,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 268.571,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55977,
    "c": 0.13156,
    "h": 304.5
  },
  "luminance": 0.16288
}

Semantic roles & 50–950 ramp

primary
#865EB2
secondary
#B7C8A4
accent
#CB5C97
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #865EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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