#864DC9#864DC9

#864DC9 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.186 H 301.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#864DC9
RGBrgb(134, 77, 201)
HSLhsl(268, 53%, 55%)
HSVhsv(268, 62%, 79%)
CMYKcmyk(33.3%, 61.7%, 0%, 21.2%)
CIE-LABlab(45.07, 48.45, -55.75)
CIE-LCHlch(45.07, 73.86, 310.99°)
OKLaboklab(54.73% 0.0977 -0.1582)
OKLCHoklch(54.73% 0.186 301.7)
XYZxyz(23.0255, 14.5931, 56.8507)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DC9 #90C94D
analogous
#4D52C9 #864DC9 #C44DC9
triadic
#864DC9 #C9864D #4DC986
tetradic
#864DC9 #C94D52 #90C94D #4DC9C4
square
#864DC9 #C94D52 #90C94D #4DC9C4
split-complementary
#864DC9 #C9C44D #52C94D
monochromatic
#4A2477 #6832A6 #864DC9 #A67CD7 #C6ABE5

Accessibility & contrast

On white

5.36
#864DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#864DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DC9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DC9#FFFFFF#000000##FFFFFF
##864DC91.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#256AC6
Tritanopia (blue-blind)
#786784
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864dc9;
/* rgb */ color: rgb(134, 77, 201);
/* oklch */ color: oklch(54.7% 0.186 301.7);
Tailwind
colors: {
  custom: {
    50: '#ae82da',
    500: '#864dc9',
    950: '#000000',
  },
}
SCSS
$custom: #864dc9;
$custom-light: #ae82da;
$custom-dark: #000000;
JSON
{
  "hex": "#864dc9",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 267.581,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54732,
    "c": 0.18591,
    "h": 301.7
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#864DC9
secondary
#BBD39F
accent
#DD4B9A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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