#864FBB#864FBB

#864FBB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.167 H 305.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#864FBB
RGBrgb(134, 79, 187)
HSLhsl(271, 44%, 52%)
HSVhsv(271, 58%, 73%)
CMYKcmyk(28.3%, 57.8%, 0%, 26.7%)
CIE-LABlab(44.59, 43.95, -48.40)
CIE-LCHlch(44.59, 65.38, 312.24°)
OKLaboklab(54.1% 0.0955 -0.1366)
OKLCHoklch(54.1% 0.167 305)
XYZxyz(21.5952, 14.2483, 48.6166)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FBB #84BB4F
analogous
#504FBB #864FBB #BB4FBA
triadic
#864FBB #BB864F #4FBB86
tetradic
#864FBB #BB504F #84BB4F #4FBABB
square
#864FBB #BB504F #84BB4F #4FBABB
split-complementary
#864FBB #BABB4F #4FBB50
monochromatic
#482868 #673994 #864FBB #A47BCC #C3A7DD

Accessibility & contrast

On white

5.46
#864FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#864FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FBB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FBB#FFFFFF#000000##FFFFFF
##864FBB1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368BF
Deuteranopia (green-blind)
#396AB8
Tritanopia (blue-blind)
#7D647D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #864fbb;
/* rgb */ color: rgb(134, 79, 187);
/* oklch */ color: oklch(54.1% 0.167 305.0);
Tailwind
colors: {
  custom: {
    50: '#ac83d0',
    500: '#864fbb',
    950: '#000000',
  },
}
SCSS
$custom: #864fbb;
$custom-light: #ac83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#864fbb",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 270.556,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54095,
    "c": 0.16668,
    "h": 305
  },
  "luminance": 0.14248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #864FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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