#864BE2#864BE2

#864BE2 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.217 H 296.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#864BE2
RGBrgb(134, 75, 226)
HSLhsl(263, 72%, 59%)
HSVhsv(263, 67%, 89%)
CMYKcmyk(40.7%, 66.8%, 0%, 11.4%)
CIE-LABlab(46.43, 55.76, -67.86)
CIE-LCHlch(46.43, 87.83, 309.41°)
OKLaboklab(56.26% 0.0975 -0.1937)
OKLCHoklch(56.26% 0.217 296.7)
XYZxyz(26.0715, 15.5910, 73.5725)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BE2 #A7E24B
analogous
#4B5CE2 #864BE2 #D24BE2
triadic
#864BE2 #E2864B #4BE286
tetradic
#864BE2 #E24B5C #A7E24B #4BE2D2
square
#864BE2 #E24B5C #A7E24B #4BE2D2
split-complementary
#864BE2 #E2D24B #5CE24B
monochromatic
#4B199A #6521CF #864BE2 #A980EA #CDB4F3

Accessibility & contrast

On white

5.10
#864BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#864BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BE2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BE2#FFFFFF#000000##FFFFFF
##864BE21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#6F6F90
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #864be2;
/* rgb */ color: rgb(134, 75, 226);
/* oklch */ color: oklch(56.3% 0.217 296.7);
Tailwind
colors: {
  custom: {
    50: '#b081ec',
    500: '#864be2',
    950: '#000000',
  },
}
SCSS
$custom: #864be2;
$custom-light: #b081ec;
$custom-dark: #000000;
JSON
{
  "hex": "#864be2",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 263.444,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56264,
    "c": 0.21692,
    "h": 296.7
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#864BE2
secondary
#CBE2A7
accent
#EF39A8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864BE2

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

Preview Lab → · Contrast checker → · Palette generator →

#864BE2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva