#865DFC#865DFC

#865DFC is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.225 H 289.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#865DFC
RGBrgb(134, 93, 252)
HSLhsl(255, 96%, 68%)
HSVhsv(255, 63%, 99%)
CMYKcmyk(46.8%, 63.1%, 0%, 1.2%)
CIE-LABlab(51.75, 53.29, -73.81)
CIE-LCHlch(51.75, 91.04, 305.83°)
OKLaboklab(60.69% 0.0765 -0.2113)
OKLCHoklch(60.69% 0.225 289.9)
XYZxyz(31.3116, 19.9241, 94.2725)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865DFC #D3FC5D
analogous
#5D83FC #865DFC #D65DFC
triadic
#865DFC #FC865D #5DFC86
tetradic
#865DFC #FC5D83 #D3FC5D #5DFCD6
square
#865DFC #FC5D83 #D3FC5D #5DFCD6
split-complementary
#865DFC #FCD65D #83FC5D
monochromatic
#3B04DB #5921FB #865DFC #B399FD #E0D5FE

Accessibility & contrast

On white

4.21
#865DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#865DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865DFC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865DFC#FFFFFF#000000##000000
##865DFC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0078F9
Tritanopia (blue-blind)
#6083A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #865dfc;
/* rgb */ color: rgb(134, 93, 252);
/* oklch */ color: oklch(60.7% 0.225 289.9);
Tailwind
colors: {
  custom: {
    50: '#b28dfe',
    500: '#865dfc',
    950: '#000000',
  },
}
SCSS
$custom: #865dfc;
$custom-light: #b28dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#865dfc",
  "rgb": {
    "r": 134,
    "g": 93,
    "b": 252
  },
  "hsl": {
    "h": 255.472,
    "s": 96.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60689,
    "c": 0.22469,
    "h": 289.9
  },
  "luminance": 0.19925
}

Semantic roles & 50–950 ramp

primary
#865DFC
secondary
#E6F3C2
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #865DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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