#865BD2#865BD2

#865BD2 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.177 H 297.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#865BD2
RGBrgb(134, 91, 210)
HSLhsl(262, 57%, 59%)
HSVhsv(262, 57%, 82%)
CMYKcmyk(36.2%, 56.7%, 0%, 17.6%)
CIE-LABlab(48.52, 43.14, -55.38)
CIE-LCHlch(48.52, 70.20, 307.92°)
OKLaboklab(57.43% 0.0807 -0.1571)
OKLCHoklch(57.43% 0.177 297.2)
XYZxyz(25.2025, 17.2033, 62.9530)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865BD2 #A7D25B
analogous
#5B6CD2 #865BD2 #C25BD2
triadic
#865BD2 #D2865B #5BD286
tetradic
#865BD2 #D25B6C #A7D25B #5BD2C2
square
#865BD2 #D25B6C #A7D25B #5BD2C2
split-complementary
#865BD2 #D2C25B #6CD25B
monochromatic
#4B268C #6534BC #865BD2 #A98BDF #CDBBEC

Accessibility & contrast

On white

4.73
#865BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#865BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #865BD2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865BD2#FFFFFF#000000##FFFFFF
##865BD21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2074D6
Deuteranopia (green-blind)
#3172CF
Tritanopia (blue-blind)
#74748E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #865bd2;
/* rgb */ color: rgb(134, 91, 210);
/* oklch */ color: oklch(57.4% 0.177 297.2);
Tailwind
colors: {
  custom: {
    50: '#ad8be0',
    500: '#865bd2',
    950: '#000000',
  },
}
SCSS
$custom: #865bd2;
$custom-light: #ad8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#865bd2",
  "rgb": {
    "r": 134,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 261.681,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57433,
    "c": 0.1766,
    "h": 297.2
  },
  "luminance": 0.17204
}

Semantic roles & 50–950 ramp

primary
#865BD2
secondary
#CBDCAD
accent
#E048A9
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #865BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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