#864DD2#864DD2

#864DD2 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.196 H 299.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#864DD2
RGBrgb(134, 77, 210)
HSLhsl(266, 60%, 56%)
HSVhsv(266, 63%, 82%)
CMYKcmyk(36.2%, 63.3%, 0%, 17.6%)
CIE-LABlab(45.67, 50.70, -59.96)
CIE-LCHlch(45.67, 78.52, 310.22°)
OKLaboklab(55.36% 0.0971 -0.1705)
OKLCHoklch(55.36% 0.196 299.7)
XYZxyz(24.1154, 15.0290, 62.5907)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DD2 #99D24D
analogous
#4D57D2 #864DD2 #C84DD2
triadic
#864DD2 #D2864D #4DD286
tetradic
#864DD2 #D24D57 #99D24D #4DD2C8
square
#864DD2 #D24D57 #99D24D #4DD2C8
split-complementary
#864DD2 #D2C84D #57D24D
monochromatic
#4B2183 #672EB4 #864DD2 #A77EDE #C8AFEB

Accessibility & contrast

On white

5.24
#864DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#864DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DD2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DD2#FFFFFF#000000##FFFFFF
##864DD21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0E6BCF
Tritanopia (blue-blind)
#756A89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864dd2;
/* rgb */ color: rgb(134, 77, 210);
/* oklch */ color: oklch(55.4% 0.196 299.7);
Tailwind
colors: {
  custom: {
    50: '#ae82e1',
    500: '#864dd2',
    950: '#000000',
  },
}
SCSS
$custom: #864dd2;
$custom-light: #ae82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#864dd2",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 265.714,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.19627,
    "h": 299.7
  },
  "luminance": 0.15029
}

Semantic roles & 50–950 ramp

primary
#864DD2
secondary
#C1D9A2
accent
#E3459F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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