#865CD2#865CD2

#865CD2 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.6% C 0.175 H 297.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#865CD2
RGBrgb(134, 92, 210)
HSLhsl(261, 57%, 59%)
HSVhsv(261, 56%, 82%)
CMYKcmyk(36.2%, 56.2%, 0%, 17.6%)
CIE-LABlab(48.73, 42.58, -55.04)
CIE-LCHlch(48.73, 69.59, 307.73°)
OKLaboklab(57.59% 0.0795 -0.1561)
OKLCHoklch(57.59% 0.175 297)
XYZxyz(25.2886, 17.3754, 62.9817)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865CD2 #A8D25C
analogous
#5C6DD2 #865CD2 #C15CD2
triadic
#865CD2 #D2865C #5CD286
tetradic
#865CD2 #D25C6D #A8D25C #5CD2C1
square
#865CD2 #D25C6D #A8D25C #5CD2C1
split-complementary
#865CD2 #D2C15C #6DD25C
monochromatic
#4B278D #6534BD #865CD2 #AA8CDF #CDBCEC

Accessibility & contrast

On white

4.69
#865CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#865CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #865CD2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865CD2#FFFFFF#000000##FFFFFF
##865CD21.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2374D6
Deuteranopia (green-blind)
#3372CF
Tritanopia (blue-blind)
#74748E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #865cd2;
/* rgb */ color: rgb(134, 92, 210);
/* oklch */ color: oklch(57.6% 0.175 297.0);
Tailwind
colors: {
  custom: {
    50: '#ad8be0',
    500: '#865cd2',
    950: '#000000',
  },
}
SCSS
$custom: #865cd2;
$custom-light: #ad8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#865cd2",
  "rgb": {
    "r": 134,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 261.356,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5759,
    "c": 0.17515,
    "h": 297
  },
  "luminance": 0.17376
}

Semantic roles & 50–950 ramp

primary
#865CD2
secondary
#CCDCAE
accent
#E048AA
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #865CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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