#865EFB#865EFB

#865EFB is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.222 H 289.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#865EFB
RGBrgb(134, 94, 251)
HSLhsl(255, 95%, 68%)
HSVhsv(255, 63%, 98%)
CMYKcmyk(46.6%, 62.5%, 0%, 1.6%)
CIE-LABlab(51.88, 52.48, -73.04)
CIE-LCHlch(51.88, 89.94, 305.70°)
OKLaboklab(60.76% 0.0756 -0.209)
OKLCHoklch(60.76% 0.222 289.9)
XYZxyz(31.2419, 20.0376, 93.4696)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865EFB #D3FB5E
analogous
#5E84FB #865EFB #D55EFB
triadic
#865EFB #FB865E #5EFB86
tetradic
#865EFB #FB5E84 #D3FB5E #5EFBD5
square
#865EFB #FB5E84 #D3FB5E #5EFBD5
split-complementary
#865EFB #FBD55E #84FB5E
monochromatic
#3B05D9 #5922FA #865EFB #B39AFC #E0D5FE

Accessibility & contrast

On white

4.19
#865EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#865EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865EFB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865EFB#FFFFFF#000000##000000
##865EFB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0078F8
Tritanopia (blue-blind)
#6183A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #865efb;
/* rgb */ color: rgb(134, 94, 251);
/* oklch */ color: oklch(60.8% 0.222 289.9);
Tailwind
colors: {
  custom: {
    50: '#b18efe',
    500: '#865efb',
    950: '#000000',
  },
}
SCSS
$custom: #865efb;
$custom-light: #b18efe;
$custom-dark: #000000;
JSON
{
  "hex": "#865efb",
  "rgb": {
    "r": 134,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 255.287,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6076,
    "c": 0.22227,
    "h": 289.9
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#865EFB
secondary
#E6F3C2
accent
#E600AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #865EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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