#864FCA#864FCA

#864FCA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.184 H 301.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#864FCA
RGBrgb(134, 79, 202)
HSLhsl(267, 54%, 55%)
HSVhsv(267, 61%, 79%)
CMYKcmyk(33.7%, 60.9%, 0%, 20.8%)
CIE-LABlab(45.53, 47.64, -55.59)
CIE-LCHlch(45.53, 73.21, 310.60°)
OKLaboklab(55.09% 0.0953 -0.1577)
OKLCHoklch(55.09% 0.184 301.1)
XYZxyz(23.2856, 14.9245, 57.5196)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FCA #93CA4F
analogous
#4F56CA #864FCA #C34FCA
triadic
#864FCA #CA864F #4FCA86
tetradic
#864FCA #CA4F56 #93CA4F #4FCAC3
square
#864FCA #CA4F56 #93CA4F #4FCAC3
split-complementary
#864FCA #CAC34F #56CA4F
monochromatic
#4B257A #6833A9 #864FCA #A67ED8 #C7ADE6

Accessibility & contrast

On white

5.27
#864FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#864FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FCA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FCA#FFFFFF#000000##FFFFFF
##864FCA1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#276BC7
Tritanopia (blue-blind)
#786985
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864fca;
/* rgb */ color: rgb(134, 79, 202);
/* oklch */ color: oklch(55.1% 0.184 301.1);
Tailwind
colors: {
  custom: {
    50: '#ae83db',
    500: '#864fca',
    950: '#000000',
  },
}
SCSS
$custom: #864fca;
$custom-light: #ae83db;
$custom-dark: #000000;
JSON
{
  "hex": "#864fca",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 266.829,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55087,
    "c": 0.18426,
    "h": 301.1
  },
  "luminance": 0.14925
}

Semantic roles & 50–950 ramp

primary
#864FCA
secondary
#BDD4A1
accent
#DD4B9C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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