#865BF8#865BF8

#865BF8 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.1% C 0.222 H 290.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#865BF8
RGBrgb(134, 91, 248)
HSLhsl(256, 92%, 66%)
HSVhsv(256, 63%, 97%)
CMYKcmyk(46%, 63.3%, 0%, 2.7%)
CIE-LABlab(51.07, 53.27, -72.70)
CIE-LCHlch(51.07, 90.12, 306.23°)
OKLaboklab(60.1% 0.0788 -0.208)
OKLCHoklch(60.1% 0.222 290.8)
XYZxyz(30.5111, 19.3267, 90.9115)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865BF8 #CDF85B
analogous
#5B7FF8 #865BF8 #D55BF8
triadic
#865BF8 #F8865B #5BF886
tetradic
#865BF8 #F85B7F #CDF85B #5BF8D5
square
#865BF8 #F85B7F #CDF85B #5BF8D5
split-complementary
#865BF8 #F8D55B #7FF85B
monochromatic
#3F09D0 #5B20F5 #865BF8 #B196FB #DDD0FD

Accessibility & contrast

On white

4.32
#865BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#865BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865BF8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865BF8#FFFFFF#000000##000000
##865BF81.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFD
Deuteranopia (green-blind)
#0076F5
Tritanopia (blue-blind)
#6380A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #865bf8;
/* rgb */ color: rgb(134, 91, 248);
/* oklch */ color: oklch(60.1% 0.222 290.8);
Tailwind
colors: {
  custom: {
    50: '#b18cfc',
    500: '#865bf8',
    950: '#000000',
  },
}
SCSS
$custom: #865bf8;
$custom-light: #b18cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#865bf8",
  "rgb": {
    "r": 134,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 256.433,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60104,
    "c": 0.22244,
    "h": 290.8
  },
  "luminance": 0.19328
}

Semantic roles & 50–950 ramp

primary
#865BF8
secondary
#E3F1BE
accent
#E600A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #865BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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