#864CCF#864CCF

#864CCF is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.0% C 0.194 H 300.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#864CCF
RGBrgb(134, 76, 207)
HSLhsl(267, 58%, 55%)
HSVhsv(267, 63%, 81%)
CMYKcmyk(35.3%, 63.3%, 0%, 18.8%)
CIE-LABlab(45.28, 50.47, -58.88)
CIE-LCHlch(45.28, 77.55, 310.60°)
OKLaboklab(55.01% 0.0985 -0.1673)
OKLCHoklch(55.01% 0.194 300.5)
XYZxyz(23.6757, 14.7420, 60.6175)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CCF #95CF4C
analogous
#4C53CF #864CCF #C74CCF
triadic
#864CCF #CF864C #4CCF86
tetradic
#864CCF #CF4C53 #95CF4C #4CCFC7
square
#864CCF #CF4C53 #95CF4C #4CCFC7
split-complementary
#864CCF #CFC74C #53CF4C
monochromatic
#4B227F #682FAF #864CCF #A77CDC #C7ADE9

Accessibility & contrast

On white

5.32
#864CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#864CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CCF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CCF#FFFFFF#000000##FFFFFF
##864CCF1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#156ACC
Tritanopia (blue-blind)
#766987
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864ccf;
/* rgb */ color: rgb(134, 76, 207);
/* oklch */ color: oklch(55.0% 0.194 300.5);
Tailwind
colors: {
  custom: {
    50: '#ae81de',
    500: '#864ccf',
    950: '#000000',
  },
}
SCSS
$custom: #864ccf;
$custom-light: #ae81de;
$custom-dark: #000000;
JSON
{
  "hex": "#864ccf",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 266.565,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5501,
    "c": 0.19418,
    "h": 300.5
  },
  "luminance": 0.14742
}

Semantic roles & 50–950 ramp

primary
#864CCF
secondary
#BFD7A0
accent
#E1479D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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