#865BF2#865BF2

#865BF2 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.215 H 291.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#865BF2
RGBrgb(134, 91, 242)
HSLhsl(257, 85%, 65%)
HSVhsv(257, 62%, 95%)
CMYKcmyk(44.6%, 62.4%, 0%, 5.1%)
CIE-LABlab(50.64, 51.65, -70.04)
CIE-LCHlch(50.64, 87.02, 306.41°)
OKLaboklab(59.66% 0.0794 -0.2002)
OKLCHoklch(59.66% 0.215 291.6)
XYZxyz(29.5952, 18.9603, 86.0876)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865BF2 #C7F25B
analogous
#5B7BF2 #865BF2 #D15BF2
triadic
#865BF2 #F2865B #5BF286
tetradic
#865BF2 #F25B7B #C7F25B #5BF2D1
square
#865BF2 #F25B7B #C7F25B #5BF2D1
split-complementary
#865BF2 #F2D15B #7BF25B
monochromatic
#430FC3 #5C22EE #865BF2 #B094F6 #DACCFB

Accessibility & contrast

On white

4.38
#865BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#865BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865BF2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865BF2#FFFFFF#000000##000000
##865BF21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#667E9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #865bf2;
/* rgb */ color: rgb(134, 91, 242);
/* oklch */ color: oklch(59.7% 0.215 291.6);
Tailwind
colors: {
  custom: {
    50: '#b18bf7',
    500: '#865bf2',
    950: '#000000',
  },
}
SCSS
$custom: #865bf2;
$custom-light: #b18bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#865bf2",
  "rgb": {
    "r": 134,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 257.086,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5966,
    "c": 0.21535,
    "h": 291.6
  },
  "luminance": 0.18961
}

Semantic roles & 50–950 ramp

primary
#865BF2
secondary
#DFEEBB
accent
#E204A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #865BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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