#865CD9#865CD9

#865CD9 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.1% C 0.184 H 295.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#865CD9
RGBrgb(134, 92, 217)
HSLhsl(260, 62%, 61%)
HSVhsv(260, 58%, 85%)
CMYKcmyk(38.2%, 57.6%, 0%, 14.9%)
CIE-LABlab(49.17, 44.42, -58.32)
CIE-LCHlch(49.17, 73.31, 307.29°)
OKLaboklab(58.05% 0.0795 -0.1657)
OKLCHoklch(58.05% 0.184 295.6)
XYZxyz(26.1798, 17.7319, 67.6755)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865CD9 #AFD95C
analogous
#5C70D9 #865CD9 #C45CD9
triadic
#865CD9 #D9865C #5CD986
tetradic
#865CD9 #D95C70 #AFD95C #5CD9C4
square
#865CD9 #D95C70 #AFD95C #5CD9C4
split-complementary
#865CD9 #D9C45C #70D95C
monochromatic
#4A2397 #632FC9 #865CD9 #AB8EE5 #D0BFF0

Accessibility & contrast

On white

4.62
#865CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#865CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #865CD9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865CD9#FFFFFF#000000##FFFFFF
##865CD91.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1476DD
Deuteranopia (green-blind)
#2873D6
Tritanopia (blue-blind)
#727792
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #865cd9;
/* rgb */ color: rgb(134, 92, 217);
/* oklch */ color: oklch(58.1% 0.184 295.6);
Tailwind
colors: {
  custom: {
    50: '#ae8ce5',
    500: '#865cd9',
    950: '#000000',
  },
}
SCSS
$custom: #865cd9;
$custom-light: #ae8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#865cd9",
  "rgb": {
    "r": 134,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 260.16,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58054,
    "c": 0.18379,
    "h": 295.6
  },
  "luminance": 0.17732
}

Semantic roles & 50–950 ramp

primary
#865CD9
secondary
#D0E0B1
accent
#CA1C8F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #865CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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