#864FCB#864FCB

#864FCB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.185 H 300.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#864FCB
RGBrgb(134, 79, 203)
HSLhsl(267, 54%, 55%)
HSVhsv(267, 61%, 80%)
CMYKcmyk(34%, 61.1%, 0%, 20.4%)
CIE-LABlab(45.60, 47.89, -56.06)
CIE-LCHlch(45.60, 73.73, 310.51°)
OKLaboklab(55.16% 0.0953 -0.1591)
OKLCHoklch(55.16% 0.185 300.9)
XYZxyz(23.4044, 14.9720, 58.1452)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FCB #94CB4F
analogous
#4F56CB #864FCB #C44FCB
triadic
#864FCB #CB864F #4FCB86
tetradic
#864FCB #CB4F56 #94CB4F #4FCBC4
square
#864FCB #CB4F56 #94CB4F #4FCBC4
split-complementary
#864FCB #CBC44F #56CB4F
monochromatic
#4B247B #6832AA #864FCB #A67ED9 #C7ADE7

Accessibility & contrast

On white

5.26
#864FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#864FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FCB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FCB#FFFFFF#000000##FFFFFF
##864FCB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#256BC8
Tritanopia (blue-blind)
#786986
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864fcb;
/* rgb */ color: rgb(134, 79, 203);
/* oklch */ color: oklch(55.2% 0.185 300.9);
Tailwind
colors: {
  custom: {
    50: '#ae83dc',
    500: '#864fcb',
    950: '#000000',
  },
}
SCSS
$custom: #864fcb;
$custom-light: #ae83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#864fcb",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 266.613,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55155,
    "c": 0.18542,
    "h": 300.9
  },
  "luminance": 0.14972
}

Semantic roles & 50–950 ramp

primary
#864FCB
secondary
#BED5A1
accent
#DE4A9C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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