#864FEB#864FEB

#864FEB is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.222 H 294.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#864FEB
RGBrgb(134, 79, 235)
HSLhsl(261, 80%, 62%)
HSVhsv(261, 66%, 92%)
CMYKcmyk(43%, 66.4%, 0%, 7.8%)
CIE-LABlab(47.83, 56.07, -70.68)
CIE-LCHlch(47.83, 90.22, 308.42°)
OKLaboklab(57.47% 0.0923 -0.2021)
OKLCHoklch(57.47% 0.222 294.6)
XYZxyz(27.6189, 16.6577, 80.3412)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FEB #B4EB4F
analogous
#4F66EB #864FEB #D44FEB
triadic
#864FEB #EB864F #4FEB86
tetradic
#864FEB #EB4F66 #B4EB4F #4FEBD4
square
#864FEB #EB4F66 #B4EB4F #4FEBD4
split-complementary
#864FEB #EBD44F #66EB4F
monochromatic
#4914AC #611AE3 #864FEB #AC86F1 #D2BDF7

Accessibility & contrast

On white

4.85
#864FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#864FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FEB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FEB#FFFFFF#000000##FFFFFF
##864FEB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#6A7597
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #864feb;
/* rgb */ color: rgb(134, 79, 235);
/* oklch */ color: oklch(57.5% 0.222 294.6);
Tailwind
colors: {
  custom: {
    50: '#b184f2',
    500: '#864feb',
    950: '#000000',
  },
}
SCSS
$custom: #864feb;
$custom-light: #b184f2;
$custom-dark: #000000;
JSON
{
  "hex": "#864feb",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 261.154,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5747,
    "c": 0.22216,
    "h": 294.6
  },
  "luminance": 0.16658
}

Semantic roles & 50–950 ramp

primary
#864FEB
secondary
#D3E8AE
accent
#DC0A92
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #864FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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