#865BFC#865BFC

#865BFC is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.227 H 290.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#865BFC
RGBrgb(134, 91, 252)
HSLhsl(256, 96%, 67%)
HSVhsv(256, 64%, 99%)
CMYKcmyk(46.8%, 63.9%, 0%, 1.2%)
CIE-LABlab(51.36, 54.36, -74.45)
CIE-LCHlch(51.36, 92.18, 306.13°)
OKLaboklab(60.4% 0.0784 -0.2132)
OKLCHoklch(60.4% 0.227 290.2)
XYZxyz(31.1383, 19.5776, 94.2148)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865BFC #D1FC5B
analogous
#5B81FC #865BFC #D75BFC
triadic
#865BFC #FC865B #5BFC86
tetradic
#865BFC #FC5B81 #D1FC5B #5BFCD7
square
#865BFC #FC5B81 #D1FC5B #5BFCD7
split-complementary
#865BFC #FCD75B #81FC5B
monochromatic
#3D04D9 #5A1FFB #865BFC #B297FD #DFD3FE

Accessibility & contrast

On white

4.27
#865BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#865BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865BFC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865BFC#FFFFFF#000000##000000
##865BFC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0077F9
Tritanopia (blue-blind)
#6082A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #865bfc;
/* rgb */ color: rgb(134, 91, 252);
/* oklch */ color: oklch(60.4% 0.227 290.2);
Tailwind
colors: {
  custom: {
    50: '#b28cfe',
    500: '#865bfc',
    950: '#000000',
  },
}
SCSS
$custom: #865bfc;
$custom-light: #b28cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#865bfc",
  "rgb": {
    "r": 134,
    "g": 91,
    "b": 252
  },
  "hsl": {
    "h": 256.025,
    "s": 96.407,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60403,
    "c": 0.22713,
    "h": 290.2
  },
  "luminance": 0.19579
}

Semantic roles & 50–950 ramp

primary
#865BFC
secondary
#E5F3C0
accent
#E600A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #865BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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