#864DBF#864DBF

#864DBF is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.174 H 304.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#864DBF
RGBrgb(134, 77, 191)
HSLhsl(270, 47%, 53%)
HSVhsv(270, 60%, 75%)
CMYKcmyk(29.8%, 59.7%, 0%, 25.1%)
CIE-LABlab(44.43, 46.00, -50.99)
CIE-LCHlch(44.43, 68.67, 312.05°)
OKLaboklab(54.06% 0.0981 -0.1442)
OKLCHoklch(54.06% 0.174 304.2)
XYZxyz(21.8873, 14.1378, 50.8559)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DBF #86BF4D
analogous
#4D4DBF #864DBF #BF4DBF
triadic
#864DBF #BF864D #4DBF86
tetradic
#864DBF #BF4D4D #86BF4D #4DBFBF
square
#864DBF #BF4D4D #86BF4D #4DBFBF
split-complementary
#864DBF #BFBF4D #4DBF4D
monochromatic
#49276B #673798 #864DBF #A57ACF #C3A7DF

Accessibility & contrast

On white

5.49
#864DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#864DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DBF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DBF#FFFFFF#000000##FFFFFF
##864DBF1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#3369BC
Tritanopia (blue-blind)
#7C647F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #864dbf;
/* rgb */ color: rgb(134, 77, 191);
/* oklch */ color: oklch(54.1% 0.174 304.2);
Tailwind
colors: {
  custom: {
    50: '#ad81d3',
    500: '#864dbf',
    950: '#000000',
  },
}
SCSS
$custom: #864dbf;
$custom-light: #ad81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#864dbf",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 270,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5406,
    "c": 0.17435,
    "h": 304.2
  },
  "luminance": 0.14138
}

Semantic roles & 50–950 ramp

primary
#864DBF
secondary
#B4CD9B
accent
#D75194
background
#FAF8FD
surface
#F5EFFA
border
#CFCAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #864DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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