#865BF1#865BF1

#865BF1 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.214 H 291.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#865BF1
RGBrgb(134, 91, 241)
HSLhsl(257, 84%, 65%)
HSVhsv(257, 62%, 95%)
CMYKcmyk(44.4%, 62.2%, 0%, 5.5%)
CIE-LABlab(50.57, 51.38, -69.59)
CIE-LCHlch(50.57, 86.51, 306.44°)
OKLaboklab(59.59% 0.0795 -0.1989)
OKLCHoklch(59.59% 0.214 291.8)
XYZxyz(29.4454, 18.9004, 85.2987)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865BF1 #C6F15B
analogous
#5B7BF1 #865BF1 #D15BF1
triadic
#865BF1 #F1865B #5BF186
tetradic
#865BF1 #F15B7B #C6F15B #5BF1D1
square
#865BF1 #F15B7B #C6F15B #5BF1D1
split-complementary
#865BF1 #F1D15B #7BF15B
monochromatic
#4310C1 #5C23EC #865BF1 #B093F6 #D9CCFB

Accessibility & contrast

On white

4.39
#865BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#865BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865BF1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865BF1#FFFFFF#000000##000000
##865BF11.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#667E9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #865bf1;
/* rgb */ color: rgb(134, 91, 241);
/* oklch */ color: oklch(59.6% 0.214 291.8);
Tailwind
colors: {
  custom: {
    50: '#b08bf7',
    500: '#865bf1',
    950: '#000000',
  },
}
SCSS
$custom: #865bf1;
$custom-light: #b08bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#865bf1",
  "rgb": {
    "r": 134,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 257.2,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59587,
    "c": 0.21417,
    "h": 291.8
  },
  "luminance": 0.18901
}

Semantic roles & 50–950 ramp

primary
#865BF1
secondary
#DFEDBA
accent
#E105A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #865BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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