#864CAF#864CAF

#864CAF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.157 H 309.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#864CAF
RGBrgb(134, 76, 175)
HSLhsl(275, 39%, 49%)
HSVhsv(275, 57%, 69%)
CMYKcmyk(23.4%, 56.6%, 0%, 31.4%)
CIE-LABlab(43.26, 42.72, -43.49)
CIE-LCHlch(43.26, 60.96, 314.49°)
OKLaboklab(52.89% 0.0991 -0.1222)
OKLCHoklch(52.89% 0.157 309.1)
XYZxyz(20.1523, 13.3327, 42.0610)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CAF #75AF4C
analogous
#554CAF #864CAF #AF4CA7
triadic
#864CAF #AF864C #4CAF86
tetradic
#864CAF #AF554C #75AF4C #4CA7AF
square
#864CAF #AF554C #75AF4C #4CA7AF
split-complementary
#864CAF #A7AF4C #4CAF55
monochromatic
#45275A #653984 #864CAF #A375C3 #BFA0D6

Accessibility & contrast

On white

5.73
#864CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#864CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CAF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CAF#FFFFFF#000000##FFFFFF
##864CAF1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#4067AD
Tritanopia (blue-blind)
#805E76
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #864caf;
/* rgb */ color: rgb(134, 76, 175);
/* oklch */ color: oklch(52.9% 0.157 309.1);
Tailwind
colors: {
  custom: {
    50: '#ac80c7',
    500: '#864caf',
    950: '#000000',
  },
}
SCSS
$custom: #864caf;
$custom-light: #ac80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#864caf",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 275.152,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52893,
    "c": 0.15734,
    "h": 309.1
  },
  "luminance": 0.13332
}

Semantic roles & 50–950 ramp

primary
#864CAF
secondary
#A7C294
accent
#CF588A
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #864CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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