#865BF6#865BF6

#865BF6 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.0% C 0.220 H 291.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#865BF6
RGBrgb(134, 91, 246)
HSLhsl(257, 90%, 66%)
HSVhsv(257, 63%, 96%)
CMYKcmyk(45.5%, 63%, 0%, 3.5%)
CIE-LABlab(50.92, 52.73, -71.81)
CIE-LCHlch(50.92, 89.09, 306.29°)
OKLaboklab(59.96% 0.079 -0.2054)
OKLCHoklch(59.96% 0.22 291)
XYZxyz(30.2025, 19.2033, 89.2862)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865BF6 #CBF65B
analogous
#5B7DF6 #865BF6 #D35BF6
triadic
#865BF6 #F6865B #5BF686
tetradic
#865BF6 #F65B7D #CBF65B #5BF6D3
square
#865BF6 #F65B7D #CBF65B #5BF6D3
split-complementary
#865BF6 #F6D35B #7DF65B
monochromatic
#410BCB #5B21F3 #865BF6 #B195F9 #DCCFFC

Accessibility & contrast

On white

4.34
#865BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#865BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865BF6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865BF6#FFFFFF#000000##000000
##865BF61.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#0076F3
Tritanopia (blue-blind)
#6480A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #865bf6;
/* rgb */ color: rgb(134, 91, 246);
/* oklch */ color: oklch(60.0% 0.220 291.0);
Tailwind
colors: {
  custom: {
    50: '#b18cfa',
    500: '#865bf6',
    950: '#000000',
  },
}
SCSS
$custom: #865bf6;
$custom-light: #b18cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#865bf6",
  "rgb": {
    "r": 134,
    "g": 91,
    "b": 246
  },
  "hsl": {
    "h": 256.645,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59955,
    "c": 0.22009,
    "h": 291
  },
  "luminance": 0.19204
}

Semantic roles & 50–950 ramp

primary
#865BF6
secondary
#E2F0BD
accent
#E600A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #865BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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