#865EE8#865EE8

#865EE8 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.199 H 292.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#865EE8
RGBrgb(134, 94, 232)
HSLhsl(257, 75%, 64%)
HSVhsv(257, 59%, 91%)
CMYKcmyk(42.2%, 59.5%, 0%, 9%)
CIE-LABlab(50.57, 47.32, -64.55)
CIE-LCHlch(50.57, 80.03, 306.24°)
OKLaboklab(59.39% 0.0768 -0.184)
OKLCHoklch(59.39% 0.199 292.6)
XYZxyz(28.3957, 18.8991, 78.4801)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865EE8 #C0E85E
analogous
#5E7BE8 #865EE8 #CB5EE8
triadic
#865EE8 #E8865E #5EE886
tetradic
#865EE8 #E85E7B #C0E85E #5EE8CB
square
#865EE8 #E85E7B #C0E85E #5EE8CB
split-complementary
#865EE8 #E8CB5E #7BE85E
monochromatic
#4619B2 #5E28E0 #865EE8 #AE94F0 #D6C9F7

Accessibility & contrast

On white

4.39
#865EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#865EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865EE8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865EE8#FFFFFF#000000##000000
##865EE81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#0076E5
Tritanopia (blue-blind)
#6B7D9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #865ee8;
/* rgb */ color: rgb(134, 94, 232);
/* oklch */ color: oklch(59.4% 0.199 292.6);
Tailwind
colors: {
  custom: {
    50: '#af8df0',
    500: '#865ee8',
    950: '#000000',
  },
}
SCSS
$custom: #865ee8;
$custom-light: #af8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#865ee8",
  "rgb": {
    "r": 134,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 257.391,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59391,
    "c": 0.19941,
    "h": 292.6
  },
  "luminance": 0.189
}

Semantic roles & 50–950 ramp

primary
#865EE8
secondary
#DBE9B9
accent
#D70E9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #865EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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