#865EF7#865EF7

#865EF7 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.218 H 290.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#865EF7
RGBrgb(134, 94, 247)
HSLhsl(256, 91%, 67%)
HSVhsv(256, 62%, 97%)
CMYKcmyk(45.7%, 61.9%, 0%, 3.1%)
CIE-LABlab(51.60, 51.39, -71.28)
CIE-LCHlch(51.60, 87.87, 305.79°)
OKLaboklab(60.47% 0.0759 -0.2038)
OKLCHoklch(60.47% 0.218 290.4)
XYZxyz(30.6180, 19.7880, 90.1839)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865EF7 #CFF75E
analogous
#5E83F7 #865EF7 #D25EF7
triadic
#865EF7 #F7865E #5EF786
tetradic
#865EF7 #F75E83 #CFF75E #5EF7D2
square
#865EF7 #F75E83 #CFF75E #5EF7D2
split-complementary
#865EF7 #F7D25E #83F75E
monochromatic
#3E0AD0 #5A24F4 #865EF7 #B298FA #DED3FD

Accessibility & contrast

On white

4.24
#865EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#865EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865EF7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865EF7#FFFFFF#000000##000000
##865EF71.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFC
Deuteranopia (green-blind)
#0078F4
Tritanopia (blue-blind)
#6382A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #865ef7;
/* rgb */ color: rgb(134, 94, 247);
/* oklch */ color: oklch(60.5% 0.218 290.4);
Tailwind
colors: {
  custom: {
    50: '#b18dfb',
    500: '#865ef7',
    950: '#000000',
  },
}
SCSS
$custom: #865ef7;
$custom-light: #b18dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#865ef7",
  "rgb": {
    "r": 134,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 255.686,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60465,
    "c": 0.21751,
    "h": 290.4
  },
  "luminance": 0.19789
}

Semantic roles & 50–950 ramp

primary
#865EF7
secondary
#E4F1C0
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #865EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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