#865EF8#865EF8

#865EF8 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.5% C 0.219 H 290.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#865EF8
RGBrgb(134, 94, 248)
HSLhsl(256, 92%, 67%)
HSVhsv(256, 62%, 97%)
CMYKcmyk(46%, 62.1%, 0%, 2.7%)
CIE-LABlab(51.67, 51.66, -71.72)
CIE-LCHlch(51.67, 88.39, 305.77°)
OKLaboklab(60.54% 0.0758 -0.2051)
OKLCHoklch(60.54% 0.219 290.3)
XYZxyz(30.7727, 19.8499, 90.9988)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865EF8 #D0F85E
analogous
#5E83F8 #865EF8 #D35EF8
triadic
#865EF8 #F8865E #5EF886
tetradic
#865EF8 #F85E83 #D0F85E #5EF8D3
square
#865EF8 #F85E83 #D0F85E #5EF8D3
split-complementary
#865EF8 #F8D35E #83F85E
monochromatic
#3D09D2 #5A23F5 #865EF8 #B299FB #DED3FD

Accessibility & contrast

On white

4.23
#865EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#865EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865EF8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865EF8#FFFFFF#000000##000000
##865EF81.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#0078F5
Tritanopia (blue-blind)
#6282A3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #865ef8;
/* rgb */ color: rgb(134, 94, 248);
/* oklch */ color: oklch(60.5% 0.219 290.3);
Tailwind
colors: {
  custom: {
    50: '#b18dfc',
    500: '#865ef8',
    950: '#000000',
  },
}
SCSS
$custom: #865ef8;
$custom-light: #b18dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#865ef8",
  "rgb": {
    "r": 134,
    "g": 94,
    "b": 248
  },
  "hsl": {
    "h": 255.584,
    "s": 91.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60539,
    "c": 0.2187,
    "h": 290.3
  },
  "luminance": 0.19851
}

Semantic roles & 50–950 ramp

primary
#865EF8
secondary
#E5F1C0
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #865EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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