#865EE4#865EE4

#865EE4 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.195 H 293.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#865EE4
RGBrgb(134, 94, 228)
HSLhsl(258, 71%, 63%)
HSVhsv(258, 59%, 89%)
CMYKcmyk(41.2%, 58.8%, 0%, 10.6%)
CIE-LABlab(50.30, 46.24, -62.72)
CIE-LCHlch(50.30, 77.92, 306.40°)
OKLaboklab(59.11% 0.0769 -0.1787)
OKLCHoklch(59.11% 0.195 293.3)
XYZxyz(27.8340, 18.6744, 75.5218)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865EE4 #BCE45E
analogous
#5E79E4 #865EE4 #C95EE4
triadic
#865EE4 #E4865E #5EE486
tetradic
#865EE4 #E45E79 #BCE45E #5EE4C9
square
#865EE4 #E45E79 #BCE45E #5EE4C9
split-complementary
#865EE4 #E4C95E #79E45E
monochromatic
#471DAB #5F2ADB #865EE4 #AD92ED #D5C7F6

Accessibility & contrast

On white

4.44
#865EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#865EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865EE4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865EE4#FFFFFF#000000##000000
##865EE41.004.444.744.74
#FFFFFF4.441.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#1475E1
Tritanopia (blue-blind)
#6D7C98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #865ee4;
/* rgb */ color: rgb(134, 94, 228);
/* oklch */ color: oklch(59.1% 0.195 293.3);
Tailwind
colors: {
  custom: {
    50: '#af8ded',
    500: '#865ee4',
    950: '#000000',
  },
}
SCSS
$custom: #865ee4;
$custom-light: #af8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#865ee4",
  "rgb": {
    "r": 134,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 257.91,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59113,
    "c": 0.19452,
    "h": 293.3
  },
  "luminance": 0.18675
}

Semantic roles & 50–950 ramp

primary
#865EE4
secondary
#D9E7B7
accent
#D3129A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #865EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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