#865EF2#865EF2

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

Color values

HEX#865EF2
RGBrgb(134, 94, 242)
HSLhsl(256, 85%, 66%)
HSVhsv(256, 61%, 95%)
CMYKcmyk(44.6%, 61.2%, 0%, 5.1%)
CIE-LABlab(51.25, 50.03, -69.05)
CIE-LCHlch(51.25, 85.27, 305.92°)
OKLaboklab(60.1% 0.0763 -0.1973)
OKLCHoklch(60.1% 0.212 291.1)
XYZxyz(29.8568, 19.4835, 86.1748)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865EF2 #CAF25E
analogous
#5E80F2 #865EF2 #D05EF2
triadic
#865EF2 #F2865E #5EF286
tetradic
#865EF2 #F25E80 #CAF25E #5EF2D0
square
#865EF2 #F25E80 #CAF25E #5EF2D0
split-complementary
#865EF2 #F2D05E #80F25E
monochromatic
#4110C6 #5B25ED #865EF2 #B197F7 #DBCFFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##865EF2#FFFFFF#000000##000000
##865EF21.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)
#007DF7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#66809F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #865ef2;
/* rgb */ color: rgb(134, 94, 242);
/* oklch */ color: oklch(60.1% 0.212 291.1);
Tailwind
colors: {
  custom: {
    50: '#b08df7',
    500: '#865ef2',
    950: '#000000',
  },
}
SCSS
$custom: #865ef2;
$custom-light: #b08df7;
$custom-dark: #000000;
JSON
{
  "hex": "#865ef2",
  "rgb": {
    "r": 134,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 256.216,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60102,
    "c": 0.21151,
    "h": 291.1
  },
  "luminance": 0.19485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #865EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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