#865DFE#865DFE

#865DFE is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.227 H 289.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#865DFE
RGBrgb(134, 93, 254)
HSLhsl(255, 99%, 68%)
HSVhsv(255, 63%, 100%)
CMYKcmyk(47.2%, 63.4%, 0%, 0.4%)
CIE-LABlab(51.90, 53.84, -74.68)
CIE-LCHlch(51.90, 92.07, 305.79°)
OKLaboklab(60.84% 0.0763 -0.2138)
OKLCHoklch(60.84% 0.227 289.6)
XYZxyz(31.6301, 20.0515, 95.9505)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865DFE #D5FE5D
analogous
#5D84FE #865DFE #D75DFE
triadic
#865DFE #FE865D #5DFE86
tetradic
#865DFE #FE5D84 #D5FE5D #5DFED7
square
#865DFE #FE5D84 #D5FE5D #5DFED7
split-complementary
#865DFE #FED75D #84FE5D
monochromatic
#3A01DF #5920FE #865DFE #B39AFE #E1D7FF

Accessibility & contrast

On white

4.19
#865DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#865DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865DFE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865DFE#FFFFFF#000000##000000
##865DFE1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0078FB
Tritanopia (blue-blind)
#5F84A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #865dfe;
/* rgb */ color: rgb(134, 93, 254);
/* oklch */ color: oklch(60.8% 0.227 289.6);
Tailwind
colors: {
  custom: {
    50: '#b28dff',
    500: '#865dfe',
    950: '#000000',
  },
}
SCSS
$custom: #865dfe;
$custom-light: #b28dff;
$custom-dark: #000000;
JSON
{
  "hex": "#865dfe",
  "rgb": {
    "r": 134,
    "g": 93,
    "b": 254
  },
  "hsl": {
    "h": 255.28,
    "s": 98.773,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60839,
    "c": 0.22704,
    "h": 289.6
  },
  "luminance": 0.20053
}

Semantic roles & 50–950 ramp

primary
#865DFE
secondary
#E7F4C3
accent
#E600AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #865DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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