#864DD7#864DD7

#864DD7 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.202 H 298.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#864DD7
RGBrgb(134, 77, 215)
HSLhsl(265, 63%, 57%)
HSVhsv(265, 64%, 84%)
CMYKcmyk(37.7%, 64.2%, 0%, 15.7%)
CIE-LABlab(46.02, 51.96, -62.27)
CIE-LCHlch(46.02, 81.10, 309.84°)
OKLaboklab(55.72% 0.0967 -0.1773)
OKLCHoklch(55.72% 0.202 298.6)
XYZxyz(24.7481, 15.2821, 65.9227)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DD7 #9ED74D
analogous
#4D59D7 #864DD7 #CB4DD7
triadic
#864DD7 #D7864D #4DD786
tetradic
#864DD7 #D74D59 #9ED74D #4DD7CB
square
#864DD7 #D74D59 #9ED74D #4DD7CB
split-complementary
#864DD7 #D7CB4D #59D74D
monochromatic
#4B1F8A #672ABC #864DD7 #A87FE2 #CAB1ED

Accessibility & contrast

On white

5.18
#864DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#864DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DD7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DD7#FFFFFF#000000##FFFFFF
##864DD71.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#736C8B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #864dd7;
/* rgb */ color: rgb(134, 77, 215);
/* oklch */ color: oklch(55.7% 0.202 298.6);
Tailwind
colors: {
  custom: {
    50: '#af82e4',
    500: '#864dd7',
    950: '#000000',
  },
}
SCSS
$custom: #864dd7;
$custom-light: #af82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#864dd7",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 264.783,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55718,
    "c": 0.20198,
    "h": 298.6
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#864DD7
secondary
#C5DCA4
accent
#E641A2
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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