#865BEA#865BEA

#865BEA is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.206 H 292.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#865BEA
RGBrgb(134, 91, 234)
HSLhsl(258, 77%, 64%)
HSVhsv(258, 61%, 92%)
CMYKcmyk(42.7%, 61.1%, 0%, 8.2%)
CIE-LABlab(50.09, 49.50, -66.45)
CIE-LCHlch(50.09, 82.86, 306.68°)
OKLaboklab(59.08% 0.08 -0.1897)
OKLCHoklch(59.08% 0.206 292.9)
XYZxyz(28.4198, 18.4902, 79.8975)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865BEA #BFEA5B
analogous
#5B77EA #865BEA #CD5BEA
triadic
#865BEA #EA865B #5BEA86
tetradic
#865BEA #EA5B77 #BFEA5B #5BEACD
square
#865BEA #EA5B77 #BFEA5B #5BEACD
split-complementary
#865BEA #EACD5B #77EA5B
monochromatic
#4617B4 #5E25E3 #865BEA #AE91F1 #D6C8F8

Accessibility & contrast

On white

4.47
#865BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#865BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865BEA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865BEA#FFFFFF#000000##000000
##865BEA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#6A7C9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #865bea;
/* rgb */ color: rgb(134, 91, 234);
/* oklch */ color: oklch(59.1% 0.206 292.9);
Tailwind
colors: {
  custom: {
    50: '#b08bf2',
    500: '#865bea',
    950: '#000000',
  },
}
SCSS
$custom: #865bea;
$custom-light: #b08bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#865bea",
  "rgb": {
    "r": 134,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 258.042,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59081,
    "c": 0.20582,
    "h": 292.9
  },
  "luminance": 0.18491
}

Semantic roles & 50–950 ramp

primary
#865BEA
secondary
#DAEAB7
accent
#DA0C9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #865BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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