#864BBB#864BBB

#864BBB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.173 H 305.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#864BBB
RGBrgb(134, 75, 187)
HSLhsl(272, 45%, 51%)
HSVhsv(272, 60%, 73%)
CMYKcmyk(28.3%, 59.9%, 0%, 26.7%)
CIE-LABlab(43.78, 46.09, -49.69)
CIE-LCHlch(43.78, 67.78, 312.85°)
OKLaboklab(53.51% 0.1006 -0.1404)
OKLCHoklch(53.51% 0.173 305.6)
XYZxyz(21.3153, 13.6885, 48.5233)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BBB #80BB4B
analogous
#4E4BBB #864BBB #BB4BB8
triadic
#864BBB #BB864B #4BBB86
tetradic
#864BBB #BB4E4B #80BB4B #4BB8BB
square
#864BBB #BB4E4B #80BB4B #4BB8BB
split-complementary
#864BBB #B8BB4B #4BBB4E
monochromatic
#472665 #673792 #864BBB #A477CC #C2A4DD

Accessibility & contrast

On white

5.62
#864BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#864BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BBB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BBB#FFFFFF#000000##FFFFFF
##864BBB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766BF
Deuteranopia (green-blind)
#3468B8
Tritanopia (blue-blind)
#7D617C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #864bbb;
/* rgb */ color: rgb(134, 75, 187);
/* oklch */ color: oklch(53.5% 0.173 305.6);
Tailwind
colors: {
  custom: {
    50: '#ad80d0',
    500: '#864bbb',
    950: '#000000',
  },
}
SCSS
$custom: #864bbb;
$custom-light: #ad80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#864bbb",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 271.607,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53508,
    "c": 0.1727,
    "h": 305.6
  },
  "luminance": 0.13688
}

Semantic roles & 50–950 ramp

primary
#864BBB
secondary
#B0CA98
accent
#D55390
background
#FAF8FC
surface
#F5EFF9
border
#CFCAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #864BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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