#865DF7#865DF7

#865DF7 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.219 H 290.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#865DF7
RGBrgb(134, 93, 247)
HSLhsl(256, 91%, 67%)
HSVhsv(256, 62%, 97%)
CMYKcmyk(45.7%, 62.3%, 0%, 3.1%)
CIE-LABlab(51.39, 51.93, -71.61)
CIE-LCHlch(51.39, 88.45, 305.95°)
OKLaboklab(60.32% 0.0769 -0.2048)
OKLCHoklch(60.32% 0.219 290.6)
XYZxyz(30.5296, 19.6113, 90.1544)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865DF7 #CEF75D
analogous
#5D81F7 #865DF7 #D35DF7
triadic
#865DF7 #F7865D #5DF786
tetradic
#865DF7 #F75D81 #CEF75D #5DF7D3
square
#865DF7 #F75D81 #CEF75D #5DF7D3
split-complementary
#865DF7 #F7D35D #81F75D
monochromatic
#3F0ACF #5A23F4 #865DF7 #B297FA #DDD2FD

Accessibility & contrast

On white

4.27
#865DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#865DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865DF7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865DF7#FFFFFF#000000##000000
##865DF71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#0077F4
Tritanopia (blue-blind)
#6381A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #865df7;
/* rgb */ color: rgb(134, 93, 247);
/* oklch */ color: oklch(60.3% 0.219 290.6);
Tailwind
colors: {
  custom: {
    50: '#b18dfb',
    500: '#865df7',
    950: '#000000',
  },
}
SCSS
$custom: #865df7;
$custom-light: #b18dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#865df7",
  "rgb": {
    "r": 134,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 255.974,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60319,
    "c": 0.21877,
    "h": 290.6
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#865DF7
secondary
#E3F1BF
accent
#E600A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #865DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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