#865DEA#865DEA

#865DEA is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.4% C 0.203 H 292.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#865DEA
RGBrgb(134, 93, 234)
HSLhsl(257, 77%, 64%)
HSVhsv(257, 60%, 92%)
CMYKcmyk(42.7%, 60.3%, 0%, 8.2%)
CIE-LABlab(50.50, 48.41, -65.79)
CIE-LCHlch(50.50, 81.68, 306.34°)
OKLaboklab(59.38% 0.0778 -0.1877)
OKLCHoklch(59.38% 0.203 292.5)
XYZxyz(28.5931, 18.8367, 79.9553)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865DEA #C1EA5D
analogous
#5D7BEA #865DEA #CD5DEA
triadic
#865DEA #EA865D #5DEA86
tetradic
#865DEA #EA5D7B #C1EA5D #5DEACD
square
#865DEA #EA5D7B #C1EA5D #5DEACD
split-complementary
#865DEA #EACD5D #7BEA5D
monochromatic
#4517B5 #5E27E3 #865DEA #AE93F1 #D7C9F8

Accessibility & contrast

On white

4.40
#865DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#865DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865DEA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865DEA#FFFFFF#000000##000000
##865DEA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#6A7D9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #865dea;
/* rgb */ color: rgb(134, 93, 234);
/* oklch */ color: oklch(59.4% 0.203 292.5);
Tailwind
colors: {
  custom: {
    50: '#b08df2',
    500: '#865dea',
    950: '#000000',
  },
}
SCSS
$custom: #865dea;
$custom-light: #b08df2;
$custom-dark: #000000;
JSON
{
  "hex": "#865dea",
  "rgb": {
    "r": 134,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 257.447,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.20317,
    "h": 292.5
  },
  "luminance": 0.18838
}

Semantic roles & 50–950 ramp

primary
#865DEA
secondary
#DCEAB9
accent
#D90C9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #865DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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