#864BBF#864BBF

#864BBF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.177 H 304.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#864BBF
RGBrgb(134, 75, 191)
HSLhsl(271, 48%, 52%)
HSVhsv(271, 61%, 75%)
CMYKcmyk(29.8%, 60.7%, 0%, 25.1%)
CIE-LABlab(44.03, 47.06, -51.62)
CIE-LCHlch(44.03, 69.85, 312.35°)
OKLaboklab(53.77% 0.1005 -0.146)
OKLCHoklch(53.77% 0.177 304.5)
XYZxyz(21.7495, 13.8622, 50.8100)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BBF #84BF4B
analogous
#4C4BBF #864BBF #BF4BBE
triadic
#864BBF #BF864B #4BBF86
tetradic
#864BBF #BF4C4B #84BF4B #4BBEBF
square
#864BBF #BF4C4B #84BF4B #4BBEBF
split-complementary
#864BBF #BEBF4B #4BBF4C
monochromatic
#48266A #673697 #864BBF #A478CF #C3A5DF

Accessibility & contrast

On white

5.57
#864BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#864BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BBF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BBF#FFFFFF#000000##FFFFFF
##864BBF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C67C3
Deuteranopia (green-blind)
#3068BC
Tritanopia (blue-blind)
#7C637E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #864bbf;
/* rgb */ color: rgb(134, 75, 191);
/* oklch */ color: oklch(53.8% 0.177 304.5);
Tailwind
colors: {
  custom: {
    50: '#ad80d3',
    500: '#864bbf',
    950: '#000000',
  },
}
SCSS
$custom: #864bbf;
$custom-light: #ad80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#864bbf",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 270.517,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.17728,
    "h": 304.5
  },
  "luminance": 0.13862
}

Semantic roles & 50–950 ramp

primary
#864BBF
secondary
#B2CC9A
accent
#D75193
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #864BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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