#864FCC#864FCC

#864FCC is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.187 H 300.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#864FCC
RGBrgb(134, 79, 204)
HSLhsl(266, 55%, 55%)
HSVhsv(266, 61%, 80%)
CMYKcmyk(34.3%, 61.3%, 0%, 20%)
CIE-LABlab(45.66, 48.14, -56.53)
CIE-LCHlch(45.66, 74.25, 310.42°)
OKLaboklab(55.22% 0.0952 -0.1605)
OKLCHoklch(55.22% 0.187 300.7)
XYZxyz(23.5240, 15.0198, 58.7748)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FCC #95CC4F
analogous
#4F56CC #864FCC #C44FCC
triadic
#864FCC #CC864F #4FCC86
tetradic
#864FCC #CC4F56 #95CC4F #4FCCC4
square
#864FCC #CC4F56 #95CC4F #4FCCC4
split-complementary
#864FCC #CCC44F #56CC4F
monochromatic
#4B247D #6832AC #864FCC #A77EDA #C7AEE7

Accessibility & contrast

On white

5.24
#864FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#864FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FCC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FCC#FFFFFF#000000##FFFFFF
##864FCC1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#236BC9
Tritanopia (blue-blind)
#776A86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864fcc;
/* rgb */ color: rgb(134, 79, 204);
/* oklch */ color: oklch(55.2% 0.187 300.7);
Tailwind
colors: {
  custom: {
    50: '#ae83dc',
    500: '#864fcc',
    950: '#000000',
  },
}
SCSS
$custom: #864fcc;
$custom-light: #ae83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#864fcc",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 266.4,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55223,
    "c": 0.18659,
    "h": 300.7
  },
  "luminance": 0.1502
}

Semantic roles & 50–950 ramp

primary
#864FCC
secondary
#BFD5A1
accent
#DE499D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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