#865FF2#865FF2

#865FF2 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.3% C 0.210 H 291.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#865FF2
RGBrgb(134, 95, 242)
HSLhsl(256, 85%, 66%)
HSVhsv(256, 61%, 95%)
CMYKcmyk(44.6%, 60.7%, 0%, 5.1%)
CIE-LABlab(51.45, 49.48, -68.72)
CIE-LCHlch(51.45, 84.68, 305.75°)
OKLaboklab(60.25% 0.0752 -0.1963)
OKLCHoklch(60.25% 0.21 291)
XYZxyz(29.9463, 19.6625, 86.2046)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865FF2 #CBF25F
analogous
#5F81F2 #865FF2 #CF5FF2
triadic
#865FF2 #F2865F #5FF286
tetradic
#865FF2 #F25F81 #CBF25F #5FF2CF
square
#865FF2 #F25F81 #CBF25F #5FF2CF
split-complementary
#865FF2 #F2CF5F #81F25F
monochromatic
#4110C6 #5B26ED #865FF2 #B198F7 #DCD0FB

Accessibility & contrast

On white

4.26
#865FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#865FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865FF2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865FF2#FFFFFF#000000##000000
##865FF21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#6681A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #865ff2;
/* rgb */ color: rgb(134, 95, 242);
/* oklch */ color: oklch(60.3% 0.210 291.0);
Tailwind
colors: {
  custom: {
    50: '#b08ef7',
    500: '#865ff2',
    950: '#000000',
  },
}
SCSS
$custom: #865ff2;
$custom-light: #b08ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#865ff2",
  "rgb": {
    "r": 134,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 255.918,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60252,
    "c": 0.21023,
    "h": 291
  },
  "luminance": 0.19664
}

Semantic roles & 50–950 ramp

primary
#865FF2
secondary
#E2EFBE
accent
#E104A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #865FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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