#864CCE#864CCE

#864CCE is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.193 H 300.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#864CCE
RGBrgb(134, 76, 206)
HSLhsl(267, 57%, 55%)
HSVhsv(267, 63%, 81%)
CMYKcmyk(35%, 63.1%, 0%, 19.2%)
CIE-LABlab(45.21, 50.22, -58.41)
CIE-LCHlch(45.21, 77.03, 310.69°)
OKLaboklab(54.94% 0.0986 -0.166)
OKLCHoklch(54.94% 0.193 300.7)
XYZxyz(23.5539, 14.6933, 59.9757)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CCE #94CE4C
analogous
#4C53CE #864CCE #C74CCE
triadic
#864CCE #CE864C #4CCE86
tetradic
#864CCE #CE4C53 #94CE4C #4CCEC7
square
#864CCE #CE4C53 #94CE4C #4CCEC7
split-complementary
#864CCE #CEC74C #53CE4C
monochromatic
#4B227D #682FAD #864CCE #A67CDB #C7ACE8

Accessibility & contrast

On white

5.33
#864CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#864CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CCE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CCE#FFFFFF#000000##FFFFFF
##864CCE1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#186ACB
Tritanopia (blue-blind)
#776886
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864cce;
/* rgb */ color: rgb(134, 76, 206);
/* oklch */ color: oklch(54.9% 0.193 300.7);
Tailwind
colors: {
  custom: {
    50: '#ae81de',
    500: '#864cce',
    950: '#000000',
  },
}
SCSS
$custom: #864cce;
$custom-light: #ae81de;
$custom-dark: #000000;
JSON
{
  "hex": "#864cce",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 266.769,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54939,
    "c": 0.19304,
    "h": 300.7
  },
  "luminance": 0.14693
}

Semantic roles & 50–950 ramp

primary
#864CCE
secondary
#BED6A0
accent
#E0489C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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