#865AEF#865AEF

#865AEF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.213 H 292.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#865AEF
RGBrgb(134, 90, 239)
HSLhsl(258, 82%, 65%)
HSVhsv(258, 62%, 94%)
CMYKcmyk(43.9%, 62.3%, 0%, 6.3%)
CIE-LABlab(50.23, 51.38, -69.03)
CIE-LCHlch(50.23, 86.05, 306.66°)
OKLaboklab(59.3% 0.0807 -0.1972)
OKLCHoklch(59.3% 0.213 292.2)
XYZxyz(29.0634, 18.6117, 83.7057)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865AEF #C3EF5A
analogous
#5A79EF #865AEF #D05AEF
triadic
#865AEF #EF865A #5AEF86
tetradic
#865AEF #EF5A79 #C3EF5A #5AEFD0
square
#865AEF #EF5A79 #C3EF5A #5AEFD0
split-complementary
#865AEF #EFD05A #79EF5A
monochromatic
#4412BC #5D22EA #865AEF #AF92F4 #D8CAFA

Accessibility & contrast

On white

4.45
#865AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#865AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865AEF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865AEF#FFFFFF#000000##000000
##865AEF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#687D9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #865aef;
/* rgb */ color: rgb(134, 90, 239);
/* oklch */ color: oklch(59.3% 0.213 292.2);
Tailwind
colors: {
  custom: {
    50: '#b08bf5',
    500: '#865aef',
    950: '#000000',
  },
}
SCSS
$custom: #865aef;
$custom-light: #b08bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#865aef",
  "rgb": {
    "r": 134,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 257.718,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.21307,
    "h": 292.2
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

primary
#865AEF
secondary
#DDECB9
accent
#DF079F
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #865AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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