#865CF8#865CF8

#865CF8 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.2% C 0.221 H 290.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#865CF8
RGBrgb(134, 92, 248)
HSLhsl(256, 92%, 67%)
HSVhsv(256, 63%, 97%)
CMYKcmyk(46%, 62.9%, 0%, 2.7%)
CIE-LABlab(51.27, 52.74, -72.37)
CIE-LCHlch(51.27, 89.55, 306.08°)
OKLaboklab(60.25% 0.0778 -0.207)
OKLCHoklch(60.25% 0.221 290.6)
XYZxyz(30.5972, 19.4988, 90.9402)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865CF8 #CEF85C
analogous
#5C80F8 #865CF8 #D45CF8
triadic
#865CF8 #F8865C #5CF886
tetradic
#865CF8 #F85C80 #CEF85C #5CF8D4
square
#865CF8 #F85C80 #CEF85C #5CF8D4
split-complementary
#865CF8 #F8D45C #80F85C
monochromatic
#3F09D1 #5A21F5 #865CF8 #B297FB #DDD1FD

Accessibility & contrast

On white

4.29
#865CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#865CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865CF8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865CF8#FFFFFF#000000##000000
##865CF81.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0077F5
Tritanopia (blue-blind)
#6281A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #865cf8;
/* rgb */ color: rgb(134, 92, 248);
/* oklch */ color: oklch(60.2% 0.221 290.6);
Tailwind
colors: {
  custom: {
    50: '#b18cfc',
    500: '#865cf8',
    950: '#000000',
  },
}
SCSS
$custom: #865cf8;
$custom-light: #b18cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#865cf8",
  "rgb": {
    "r": 134,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 256.154,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60248,
    "c": 0.2212,
    "h": 290.6
  },
  "luminance": 0.195
}

Semantic roles & 50–950 ramp

primary
#865CF8
secondary
#E3F1BF
accent
#E600A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #865CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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