#864DCF#864DCF

#864DCF is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.193 H 300.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#864DCF
RGBrgb(134, 77, 207)
HSLhsl(266, 58%, 56%)
HSVhsv(266, 63%, 81%)
CMYKcmyk(35.3%, 62.8%, 0%, 18.8%)
CIE-LABlab(45.47, 49.95, -58.57)
CIE-LCHlch(45.47, 76.97, 310.46°)
OKLaboklab(55.15% 0.0974 -0.1664)
OKLCHoklch(55.15% 0.193 300.3)
XYZxyz(23.7451, 14.8809, 60.6407)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DCF #96CF4D
analogous
#4D55CF #864DCF #C74DCF
triadic
#864DCF #CF864D #4DCF86
tetradic
#864DCF #CF4D55 #96CF4D #4DCFC7
square
#864DCF #CF4D55 #96CF4D #4DCFC7
split-complementary
#864DCF #CFC74D #55CF4D
monochromatic
#4B227F #682FAF #864DCF #A77DDC #C8ADE9

Accessibility & contrast

On white

5.28
#864DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#864DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DCF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DCF#FFFFFF#000000##FFFFFF
##864DCF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#186BCC
Tritanopia (blue-blind)
#766987
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864dcf;
/* rgb */ color: rgb(134, 77, 207);
/* oklch */ color: oklch(55.1% 0.193 300.3);
Tailwind
colors: {
  custom: {
    50: '#ae82de',
    500: '#864dcf',
    950: '#000000',
  },
}
SCSS
$custom: #864dcf;
$custom-light: #ae82de;
$custom-dark: #000000;
JSON
{
  "hex": "#864dcf",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 266.308,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55149,
    "c": 0.19282,
    "h": 300.3
  },
  "luminance": 0.14881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #864DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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