#864FCF#864FCF

#864FCF is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.190 H 300.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#864FCF
RGBrgb(134, 79, 207)
HSLhsl(266, 57%, 56%)
HSVhsv(266, 62%, 81%)
CMYKcmyk(35.3%, 61.8%, 0%, 18.8%)
CIE-LABlab(45.86, 48.90, -57.94)
CIE-LCHlch(45.86, 75.81, 310.16°)
OKLaboklab(55.43% 0.0951 -0.1646)
OKLCHoklch(55.43% 0.19 300)
XYZxyz(23.8872, 15.1651, 60.6881)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FCF #98CF4F
analogous
#4F58CF #864FCF #C64FCF
triadic
#864FCF #CF864F #4FCF86
tetradic
#864FCF #CF4F58 #98CF4F #4FCFC6
square
#864FCF #CF4F58 #98CF4F #4FCFC6
split-complementary
#864FCF #CFC64F #58CF4F
monochromatic
#4B2381 #6730B1 #864FCF #A77FDC #C8AFE9

Accessibility & contrast

On white

5.21
#864FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#864FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FCF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FCF#FFFFFF#000000##FFFFFF
##864FCF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#1D6CCC
Tritanopia (blue-blind)
#766B88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #864fcf;
/* rgb */ color: rgb(134, 79, 207);
/* oklch */ color: oklch(55.4% 0.190 300.0);
Tailwind
colors: {
  custom: {
    50: '#ae83de',
    500: '#864fcf',
    950: '#000000',
  },
}
SCSS
$custom: #864fcf;
$custom-light: #ae83de;
$custom-dark: #000000;
JSON
{
  "hex": "#864fcf",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 265.781,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5543,
    "c": 0.19008,
    "h": 300
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#864FCF
secondary
#C1D7A2
accent
#E0479F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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