#865EEA#865EEA

#865EEA is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.5% C 0.202 H 292.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#865EEA
RGBrgb(134, 94, 234)
HSLhsl(257, 77%, 64%)
HSVhsv(257, 60%, 92%)
CMYKcmyk(42.7%, 59.8%, 0%, 8.2%)
CIE-LABlab(50.70, 47.86, -65.45)
CIE-LCHlch(50.70, 81.08, 306.17°)
OKLaboklab(59.53% 0.0767 -0.1867)
OKLCHoklch(59.53% 0.202 292.3)
XYZxyz(28.6814, 19.0134, 79.9847)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865EEA #C2EA5E
analogous
#5E7CEA #865EEA #CC5EEA
triadic
#865EEA #EA865E #5EEA86
tetradic
#865EEA #EA5E7C #C2EA5E #5EEACC
square
#865EEA #EA5E7C #C2EA5E #5EEACC
split-complementary
#865EEA #EACC5E #7CEA5E
monochromatic
#4518B6 #5D28E3 #865EEA #AF94F1 #D7CAF8

Accessibility & contrast

On white

4.37
#865EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#865EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865EEA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865EEA#FFFFFF#000000##000000
##865EEA1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#6A7E9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #865eea;
/* rgb */ color: rgb(134, 94, 234);
/* oklch */ color: oklch(59.5% 0.202 292.3);
Tailwind
colors: {
  custom: {
    50: '#b08df2',
    500: '#865eea',
    950: '#000000',
  },
}
SCSS
$custom: #865eea;
$custom-light: #b08df2;
$custom-dark: #000000;
JSON
{
  "hex": "#865eea",
  "rgb": {
    "r": 134,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 257.143,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59532,
    "c": 0.20185,
    "h": 292.3
  },
  "luminance": 0.19014
}

Semantic roles & 50–950 ramp

primary
#865EEA
secondary
#DCEABA
accent
#D90C9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #865EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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