#865BEB#865BEB

#865BEB is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.207 H 292.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#865BEB
RGBrgb(134, 91, 235)
HSLhsl(258, 78%, 64%)
HSVhsv(258, 61%, 92%)
CMYKcmyk(43%, 61.3%, 0%, 7.8%)
CIE-LABlab(50.15, 49.77, -66.90)
CIE-LCHlch(50.15, 83.38, 306.64°)
OKLaboklab(59.15% 0.0799 -0.191)
OKLCHoklch(59.15% 0.207 292.7)
XYZxyz(28.5639, 18.5478, 80.6563)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865BEB #C0EB5B
analogous
#5B78EB #865BEB #CE5BEB
triadic
#865BEB #EB865B #5BEB86
tetradic
#865BEB #EB5B78 #C0EB5B #5BEBCE
square
#865BEB #EB5B78 #C0EB5B #5BEBCE
split-complementary
#865BEB #EBCE5B #78EB5B
monochromatic
#4616B5 #5E24E4 #865BEB #AE92F2 #D6C8F8

Accessibility & contrast

On white

4.46
#865BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#865BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865BEB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865BEB#FFFFFF#000000##000000
##865BEB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#6A7C9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #865beb;
/* rgb */ color: rgb(134, 91, 235);
/* oklch */ color: oklch(59.2% 0.207 292.7);
Tailwind
colors: {
  custom: {
    50: '#b08bf2',
    500: '#865beb',
    950: '#000000',
  },
}
SCSS
$custom: #865beb;
$custom-light: #b08bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#865beb",
  "rgb": {
    "r": 134,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 257.917,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59153,
    "c": 0.20701,
    "h": 292.7
  },
  "luminance": 0.18549
}

Semantic roles & 50–950 ramp

primary
#865BEB
secondary
#DBEAB8
accent
#DB0B9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #865BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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