#865DF2#865DF2

#865DF2 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.213 H 291.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#865DF2
RGBrgb(134, 93, 242)
HSLhsl(257, 85%, 66%)
HSVhsv(257, 62%, 95%)
CMYKcmyk(44.6%, 61.6%, 0%, 5.1%)
CIE-LABlab(51.04, 50.57, -69.38)
CIE-LCHlch(51.04, 85.86, 306.09°)
OKLaboklab(59.95% 0.0773 -0.1983)
OKLCHoklch(59.95% 0.213 291.3)
XYZxyz(29.7684, 19.3068, 86.1453)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865DF2 #C9F25D
analogous
#5D7EF2 #865DF2 #D05DF2
triadic
#865DF2 #F2865D #5DF286
tetradic
#865DF2 #F25D7E #C9F25D #5DF2D0
square
#865DF2 #F25D7E #C9F25D #5DF2D0
split-complementary
#865DF2 #F2D05D #7EF25D
monochromatic
#4210C5 #5C24ED #865DF2 #B096F7 #DBCEFB

Accessibility & contrast

On white

4.32
#865DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#865DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865DF2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865DF2#FFFFFF#000000##000000
##865DF21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#66809F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #865df2;
/* rgb */ color: rgb(134, 93, 242);
/* oklch */ color: oklch(60.0% 0.213 291.3);
Tailwind
colors: {
  custom: {
    50: '#b08df7',
    500: '#865df2',
    950: '#000000',
  },
}
SCSS
$custom: #865df2;
$custom-light: #b08df7;
$custom-dark: #000000;
JSON
{
  "hex": "#865df2",
  "rgb": {
    "r": 134,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 256.51,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59954,
    "c": 0.21281,
    "h": 291.3
  },
  "luminance": 0.19308
}

Semantic roles & 50–950 ramp

primary
#865DF2
secondary
#E1EEBD
accent
#E204A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #865DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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