#864CBF#864CBF

#864CBF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.176 H 304.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#864CBF
RGBrgb(134, 76, 191)
HSLhsl(270, 47%, 52%)
HSVhsv(270, 60%, 75%)
CMYKcmyk(29.8%, 60.2%, 0%, 25.1%)
CIE-LABlab(44.23, 46.53, -51.31)
CIE-LCHlch(44.23, 69.26, 312.20°)
OKLaboklab(53.92% 0.0993 -0.1451)
OKLCHoklch(53.92% 0.176 304.4)
XYZxyz(21.8178, 13.9989, 50.8328)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CBF #85BF4C
analogous
#4D4CBF #864CBF #BF4CBE
triadic
#864CBF #BF864C #4CBF86
tetradic
#864CBF #BF4D4C #85BF4C #4CBEBF
square
#864CBF #BF4D4C #85BF4C #4CBEBF
split-complementary
#864CBF #BEBF4C #4CBF4D
monochromatic
#49266B #673698 #864CBF #A479CF #C3A6DF

Accessibility & contrast

On white

5.53
#864CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#864CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CBF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CBF#FFFFFF#000000##FFFFFF
##864CBF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#3169BC
Tritanopia (blue-blind)
#7C637E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #864cbf;
/* rgb */ color: rgb(134, 76, 191);
/* oklch */ color: oklch(53.9% 0.176 304.4);
Tailwind
colors: {
  custom: {
    50: '#ad81d3',
    500: '#864cbf',
    950: '#000000',
  },
}
SCSS
$custom: #864cbf;
$custom-light: #ad81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#864cbf",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 270.261,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53915,
    "c": 0.17582,
    "h": 304.4
  },
  "luminance": 0.13999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #864CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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