#865CD4#865CD4

#865CD4 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.178 H 296.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#865CD4
RGBrgb(134, 92, 212)
HSLhsl(261, 58%, 60%)
HSVhsv(261, 57%, 83%)
CMYKcmyk(36.8%, 56.6%, 0%, 16.9%)
CIE-LABlab(48.85, 43.10, -55.98)
CIE-LCHlch(48.85, 70.65, 307.60°)
OKLaboklab(57.72% 0.0795 -0.1589)
OKLCHoklch(57.72% 0.178 296.6)
XYZxyz(25.5393, 17.4757, 64.3022)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865CD4 #AAD45C
analogous
#5C6ED4 #865CD4 #C25CD4
triadic
#865CD4 #D4865C #5CD486
tetradic
#865CD4 #D45C6E #AAD45C #5CD4C2
square
#865CD4 #D45C6E #AAD45C #5CD4C2
split-complementary
#865CD4 #D4C25C #6ED45C
monochromatic
#4B2690 #6433C0 #865CD4 #AA8CE1 #CEBDEE

Accessibility & contrast

On white

4.67
#865CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#865CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #865CD4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865CD4#FFFFFF#000000##FFFFFF
##865CD41.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2075D8
Deuteranopia (green-blind)
#3073D1
Tritanopia (blue-blind)
#74758F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #865cd4;
/* rgb */ color: rgb(134, 92, 212);
/* oklch */ color: oklch(57.7% 0.178 296.6);
Tailwind
colors: {
  custom: {
    50: '#ae8ce2',
    500: '#865cd4',
    950: '#000000',
  },
}
SCSS
$custom: #865cd4;
$custom-light: #ae8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#865cd4",
  "rgb": {
    "r": 134,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 261,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57722,
    "c": 0.17762,
    "h": 296.6
  },
  "luminance": 0.17476
}

Semantic roles & 50–950 ramp

primary
#865CD4
secondary
#CDDDAF
accent
#E146AB
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #865CD4

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

Preview Lab → · Contrast checker → · Palette generator →

#865CD4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva