#865FEB#865FEB

#865FEB is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.8% C 0.202 H 292.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#865FEB
RGBrgb(134, 95, 235)
HSLhsl(257, 78%, 65%)
HSVhsv(257, 60%, 92%)
CMYKcmyk(43%, 59.6%, 0%, 7.8%)
CIE-LABlab(50.98, 47.58, -65.57)
CIE-LCHlch(50.98, 81.01, 305.96°)
OKLaboklab(59.75% 0.0756 -0.187)
OKLCHoklch(59.75% 0.202 292)
XYZxyz(28.9150, 19.2500, 80.7733)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865FEB #C4EB5F
analogous
#5F7EEB #865FEB #CC5FEB
triadic
#865FEB #EB865F #5FEB86
tetradic
#865FEB #EB5F7E #C4EB5F #5FEBCC
square
#865FEB #EB5F7E #C4EB5F #5FEBCC
split-complementary
#865FEB #EBCC5F #7EEB5F
monochromatic
#4417B9 #5D29E4 #865FEB #AF95F2 #D8CCF9

Accessibility & contrast

On white

4.33
#865FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#865FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865FEB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865FEB#FFFFFF#000000##000000
##865FEB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#697F9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #865feb;
/* rgb */ color: rgb(134, 95, 235);
/* oklch */ color: oklch(59.8% 0.202 292.0);
Tailwind
colors: {
  custom: {
    50: '#b08ef2',
    500: '#865feb',
    950: '#000000',
  },
}
SCSS
$custom: #865feb;
$custom-light: #b08ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#865feb",
  "rgb": {
    "r": 134,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 256.714,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59754,
    "c": 0.20173,
    "h": 292
  },
  "luminance": 0.19251
}

Semantic roles & 50–950 ramp

primary
#865FEB
secondary
#DEEBBB
accent
#DA0BA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #865FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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