#865AF2#865AF2

#865AF2 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.5% C 0.217 H 291.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#865AF2
RGBrgb(134, 90, 242)
HSLhsl(257, 85%, 65%)
HSVhsv(257, 63%, 95%)
CMYKcmyk(44.6%, 62.8%, 0%, 5.1%)
CIE-LABlab(50.44, 52.19, -70.36)
CIE-LCHlch(50.44, 87.60, 306.56°)
OKLaboklab(59.52% 0.0804 -0.2011)
OKLCHoklch(59.52% 0.217 291.8)
XYZxyz(29.5102, 18.7905, 86.0593)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865AF2 #C6F25A
analogous
#5A7AF2 #865AF2 #D25AF2
triadic
#865AF2 #F2865A #5AF286
tetradic
#865AF2 #F25A7A #C6F25A #5AF2D2
square
#865AF2 #F25A7A #C6F25A #5AF2D2
split-complementary
#865AF2 #F2D25A #7AF25A
monochromatic
#430FC2 #5C21EE #865AF2 #B093F6 #D9CBFB

Accessibility & contrast

On white

4.41
#865AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#865AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865AF2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865AF2#FFFFFF#000000##000000
##865AF21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#667E9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #865af2;
/* rgb */ color: rgb(134, 90, 242);
/* oklch */ color: oklch(59.5% 0.217 291.8);
Tailwind
colors: {
  custom: {
    50: '#b18bf7',
    500: '#865af2',
    950: '#000000',
  },
}
SCSS
$custom: #865af2;
$custom-light: #b18bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#865af2",
  "rgb": {
    "r": 134,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 257.368,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59516,
    "c": 0.21662,
    "h": 291.8
  },
  "luminance": 0.18791
}

Semantic roles & 50–950 ramp

primary
#865AF2
secondary
#DFEEBA
accent
#E204A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #865AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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