#865ECF#865ECF

#865ECF is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.7% C 0.168 H 297.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#865ECF
RGBrgb(134, 94, 207)
HSLhsl(261, 54%, 59%)
HSVhsv(261, 55%, 81%)
CMYKcmyk(35.3%, 54.6%, 0%, 18.8%)
CIE-LABlab(48.98, 40.67, -52.92)
CIE-LCHlch(48.98, 66.74, 307.54°)
OKLaboklab(57.72% 0.0769 -0.1499)
OKLCHoklch(57.72% 0.168 297.2)
XYZxyz(25.0939, 17.5784, 61.0903)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865ECF #A7CF5E
analogous
#5E6FCF #865ECF #BF5ECF
triadic
#865ECF #CF865E #5ECF86
tetradic
#865ECF #CF5E6F #A7CF5E #5ECFBF
square
#865ECF #CF5E6F #A7CF5E #5ECFBF
split-complementary
#865ECF #CFBF5E #6FCF5E
monochromatic
#4B298A #6537B9 #865ECF #A98DDD #CDBCEB

Accessibility & contrast

On white

4.65
#865ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#865ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #865ECF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865ECF#FFFFFF#000000##FFFFFF
##865ECF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D3
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#75758D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #865ecf;
/* rgb */ color: rgb(134, 94, 207);
/* oklch */ color: oklch(57.7% 0.168 297.2);
Tailwind
colors: {
  custom: {
    50: '#ad8dde',
    500: '#865ecf',
    950: '#000000',
  },
}
SCSS
$custom: #865ecf;
$custom-light: #ad8dde;
$custom-dark: #000000;
JSON
{
  "hex": "#865ecf",
  "rgb": {
    "r": 134,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 261.239,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57717,
    "c": 0.16844,
    "h": 297.2
  },
  "luminance": 0.17579
}

Semantic roles & 50–950 ramp

primary
#865ECF
secondary
#CBDBAE
accent
#DD4AA9
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #865ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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