#865BF5#865BF5

#865BF5 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.9% C 0.219 H 291.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#865BF5
RGBrgb(134, 91, 245)
HSLhsl(257, 89%, 66%)
HSVhsv(257, 63%, 96%)
CMYKcmyk(45.3%, 62.9%, 0%, 3.9%)
CIE-LABlab(50.85, 52.46, -71.37)
CIE-LCHlch(50.85, 88.58, 306.32°)
OKLaboklab(59.88% 0.0791 -0.2041)
OKLCHoklch(59.88% 0.219 291.2)
XYZxyz(30.0494, 19.1420, 88.4800)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865BF5 #CAF55B
analogous
#5B7DF5 #865BF5 #D35BF5
triadic
#865BF5 #F5865B #5BF586
tetradic
#865BF5 #F55B7D #CAF55B #5BF5D3
square
#865BF5 #F55B7D #CAF55B #5BF5D3
split-complementary
#865BF5 #F5D35B #7DF55B
monochromatic
#410CC9 #5B21F1 #865BF5 #B195F9 #DBCEFC

Accessibility & contrast

On white

4.35
#865BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#865BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865BF5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865BF5#FFFFFF#000000##000000
##865BF51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#647FA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #865bf5;
/* rgb */ color: rgb(134, 91, 245);
/* oklch */ color: oklch(59.9% 0.219 291.2);
Tailwind
colors: {
  custom: {
    50: '#b18bf9',
    500: '#865bf5',
    950: '#000000',
  },
}
SCSS
$custom: #865bf5;
$custom-light: #b18bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#865bf5",
  "rgb": {
    "r": 134,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 256.753,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59881,
    "c": 0.21891,
    "h": 291.2
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#865BF5
secondary
#E1EFBC
accent
#E500A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #865BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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