#864BB7#864BB7

#864BB7 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.168 H 306.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#864BB7
RGBrgb(134, 75, 183)
HSLhsl(273, 43%, 51%)
HSVhsv(273, 59%, 72%)
CMYKcmyk(26.8%, 59%, 0%, 28.2%)
CIE-LABlab(43.54, 45.14, -47.75)
CIE-LCHlch(43.54, 65.71, 313.39°)
OKLaboklab(53.25% 0.1006 -0.1347)
OKLCHoklch(53.25% 0.168 306.8)
XYZxyz(20.8931, 13.5196, 46.2994)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BB7 #7CB74B
analogous
#504BB7 #864BB7 #B74BB2
triadic
#864BB7 #B7864B #4BB786
tetradic
#864BB7 #B7504B #7CB74B #4BB2B7
square
#864BB7 #B7504B #7CB74B #4BB2B7
split-complementary
#864BB7 #B2B74B #4BB750
monochromatic
#462761 #66388D #864BB7 #A377C8 #C1A2DA

Accessibility & contrast

On white

5.67
#864BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#864BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BB7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BB7#FFFFFF#000000##FFFFFF
##864BB71.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F65BA
Deuteranopia (green-blind)
#3867B4
Tritanopia (blue-blind)
#7E607A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #864bb7;
/* rgb */ color: rgb(134, 75, 183);
/* oklch */ color: oklch(53.2% 0.168 306.8);
Tailwind
colors: {
  custom: {
    50: '#ac80cd',
    500: '#864bb7',
    950: '#000000',
  },
}
SCSS
$custom: #864bb7;
$custom-light: #ac80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#864bb7",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 272.778,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.1681,
    "h": 306.8
  },
  "luminance": 0.13519
}

Semantic roles & 50–950 ramp

primary
#864BB7
secondary
#ADC797
accent
#D3558E
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #864BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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