#865DCD#865DCD

#865DCD is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.4% C 0.167 H 297.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#865DCD
RGBrgb(134, 93, 205)
HSLhsl(262, 53%, 58%)
HSVhsv(262, 55%, 80%)
CMYKcmyk(34.6%, 54.6%, 0%, 19.6%)
CIE-LABlab(48.64, 40.72, -52.32)
CIE-LCHlch(48.64, 66.29, 307.89°)
OKLaboklab(57.43% 0.0781 -0.1481)
OKLCHoklch(57.43% 0.167 297.8)
XYZxyz(24.7626, 17.3045, 59.7813)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865DCD #A4CD5D
analogous
#5D6CCD #865DCD #BE5DCD
triadic
#865DCD #CD865D #5DCD86
tetradic
#865DCD #CD5D6C #A4CD5D #5DCDBE
square
#865DCD #CD5D6C #A4CD5D #5DCDBE
split-complementary
#865DCD #CDBE5D #6CCD5D
monochromatic
#4B2986 #6638B5 #865DCD #A98CDB #CCBBEA

Accessibility & contrast

On white

4.71
#865DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#865DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #865DCD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865DCD#FFFFFF#000000##FFFFFF
##865DCD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#76748C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #865dcd;
/* rgb */ color: rgb(134, 93, 205);
/* oklch */ color: oklch(57.4% 0.167 297.8);
Tailwind
colors: {
  custom: {
    50: '#ad8cdd',
    500: '#865dcd',
    950: '#000000',
  },
}
SCSS
$custom: #865dcd;
$custom-light: #ad8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#865dcd",
  "rgb": {
    "r": 134,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 261.964,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57427,
    "c": 0.16743,
    "h": 297.8
  },
  "luminance": 0.17305
}

Semantic roles & 50–950 ramp

primary
#865DCD
secondary
#C9D9AD
accent
#DC4CA7
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #865DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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