#864EBB#864EBB

#864EBB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.168 H 305.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#864EBB
RGBrgb(134, 78, 187)
HSLhsl(271, 44%, 52%)
HSVhsv(271, 58%, 73%)
CMYKcmyk(28.3%, 58.3%, 0%, 26.7%)
CIE-LABlab(44.38, 44.49, -48.73)
CIE-LCHlch(44.38, 65.98, 312.40°)
OKLaboklab(53.95% 0.0968 -0.1375)
OKLCHoklch(53.95% 0.168 305.1)
XYZxyz(21.5236, 14.1051, 48.5927)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864EBB #83BB4E
analogous
#504EBB #864EBB #BB4EB9
triadic
#864EBB #BB864E #4EBB86
tetradic
#864EBB #BB504E #83BB4E #4EB9BB
square
#864EBB #BB504E #83BB4E #4EB9BB
split-complementary
#864EBB #B9BB4E #4EBB50
monochromatic
#482867 #673993 #864EBB #A47ACC #C2A6DD

Accessibility & contrast

On white

5.50
#864EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#864EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864EBB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864EBB#FFFFFF#000000##FFFFFF
##864EBB1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BF
Deuteranopia (green-blind)
#3869B8
Tritanopia (blue-blind)
#7D637D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #864ebb;
/* rgb */ color: rgb(134, 78, 187);
/* oklch */ color: oklch(53.9% 0.168 305.1);
Tailwind
colors: {
  custom: {
    50: '#ac82d0',
    500: '#864ebb',
    950: '#000000',
  },
}
SCSS
$custom: #864ebb;
$custom-light: #ac82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#864ebb",
  "rgb": {
    "r": 134,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 270.826,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.1682,
    "h": 305.1
  },
  "luminance": 0.14105
}

Semantic roles & 50–950 ramp

primary
#864EBB
secondary
#B2CA9B
accent
#D45492
background
#FAF8FC
surface
#F5EFF9
border
#CFCAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #864EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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