#865AEA#865AEA

#865AEA is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.207 H 293.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#865AEA
RGBrgb(134, 90, 234)
HSLhsl(258, 77%, 64%)
HSVhsv(258, 62%, 92%)
CMYKcmyk(42.7%, 61.5%, 0%, 8.2%)
CIE-LABlab(49.88, 50.04, -66.78)
CIE-LCHlch(49.88, 83.45, 306.84°)
OKLaboklab(58.93% 0.081 -0.1906)
OKLCHoklch(58.93% 0.207 293)
XYZxyz(28.3349, 18.3204, 79.8692)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865AEA #BEEA5A
analogous
#5A76EA #865AEA #CE5AEA
triadic
#865AEA #EA865A #5AEA86
tetradic
#865AEA #EA5A76 #BEEA5A #5AEACE
square
#865AEA #EA5A76 #BEEA5A #5AEACE
split-complementary
#865AEA #EACE5A #76EA5A
monochromatic
#4617B3 #5E24E3 #865AEA #AE90F1 #D6C7F8

Accessibility & contrast

On white

4.50
#865AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#865AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865AEA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865AEA#FFFFFF#000000##000000
##865AEA1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #865aea;
/* rgb */ color: rgb(134, 90, 234);
/* oklch */ color: oklch(58.9% 0.207 293.0);
Tailwind
colors: {
  custom: {
    50: '#b08bf2',
    500: '#865aea',
    950: '#000000',
  },
}
SCSS
$custom: #865aea;
$custom-light: #b08bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#865aea",
  "rgb": {
    "r": 134,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 258.333,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58934,
    "c": 0.20712,
    "h": 293
  },
  "luminance": 0.18321
}

Semantic roles & 50–950 ramp

primary
#865AEA
secondary
#DAE9B6
accent
#DA0C9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #865AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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