#865BFA#865BFA

#865BFA is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.225 H 290.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#865BFA
RGBrgb(134, 91, 250)
HSLhsl(256, 94%, 67%)
HSVhsv(256, 64%, 98%)
CMYKcmyk(46.4%, 63.6%, 0%, 2%)
CIE-LABlab(51.21, 53.81, -73.57)
CIE-LCHlch(51.21, 91.15, 306.18°)
OKLaboklab(60.25% 0.0786 -0.2106)
OKLCHoklch(60.25% 0.225 290.5)
XYZxyz(30.8230, 19.4515, 92.5544)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865BFA #CFFA5B
analogous
#5B80FA #865BFA #D55BFA
triadic
#865BFA #FA865B #5BFA86
tetradic
#865BFA #FA5B80 #CFFA5B #5BFAD5
square
#865BFA #FA5B80 #CFFA5B #5BFAD5
split-complementary
#865BFA #FAD55B #80FA5B
monochromatic
#3E06D4 #5A20F8 #865BFA #B296FC #DED2FE

Accessibility & contrast

On white

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

On black

4.89
#865BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865BFA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865BFA#FFFFFF#000000##000000
##865BFA1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0076F7
Tritanopia (blue-blind)
#6181A3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #865bfa;
/* rgb */ color: rgb(134, 91, 250);
/* oklch */ color: oklch(60.3% 0.225 290.5);
Tailwind
colors: {
  custom: {
    50: '#b18cfd',
    500: '#865bfa',
    950: '#000000',
  },
}
SCSS
$custom: #865bfa;
$custom-light: #b18cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#865bfa",
  "rgb": {
    "r": 134,
    "g": 91,
    "b": 250
  },
  "hsl": {
    "h": 256.226,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60253,
    "c": 0.22479,
    "h": 290.5
  },
  "luminance": 0.19453
}

Semantic roles & 50–950 ramp

primary
#865BFA
secondary
#E4F2BF
accent
#E600A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #865BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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