#865EF6#865EF6

#865EF6 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.216 H 290.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#865EF6
RGBrgb(134, 94, 246)
HSLhsl(256, 89%, 67%)
HSVhsv(256, 62%, 96%)
CMYKcmyk(45.5%, 61.8%, 0%, 3.5%)
CIE-LABlab(51.53, 51.12, -70.84)
CIE-LCHlch(51.53, 87.35, 305.81°)
OKLaboklab(60.39% 0.076 -0.2025)
OKLCHoklch(60.39% 0.216 290.6)
XYZxyz(30.4641, 19.7265, 89.3734)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865EF6 #CEF65E
analogous
#5E82F6 #865EF6 #D25EF6
triadic
#865EF6 #F6865E #5EF686
tetradic
#865EF6 #F65E82 #CEF65E #5EF6D2
square
#865EF6 #F65E82 #CEF65E #5EF6D2
split-complementary
#865EF6 #F6D25E #82F65E
monochromatic
#3F0CCE #5A24F3 #865EF6 #B298F9 #DDD2FC

Accessibility & contrast

On white

4.25
#865EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#865EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865EF6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865EF6#FFFFFF#000000##000000
##865EF61.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#6382A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #865ef6;
/* rgb */ color: rgb(134, 94, 246);
/* oklch */ color: oklch(60.4% 0.216 290.6);
Tailwind
colors: {
  custom: {
    50: '#b18dfa',
    500: '#865ef6',
    950: '#000000',
  },
}
SCSS
$custom: #865ef6;
$custom-light: #b18dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#865ef6",
  "rgb": {
    "r": 134,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 255.789,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60392,
    "c": 0.21631,
    "h": 290.6
  },
  "luminance": 0.19728
}

Semantic roles & 50–950 ramp

primary
#865EF6
secondary
#E3F0BF
accent
#E600A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #865EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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