#865DFA#865DFA

#865DFA is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.222 H 290.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#865DFA
RGBrgb(134, 93, 250)
HSLhsl(256, 94%, 67%)
HSVhsv(256, 63%, 98%)
CMYKcmyk(46.4%, 62.8%, 0%, 2%)
CIE-LABlab(51.61, 52.75, -72.93)
CIE-LCHlch(51.61, 90.01, 305.88°)
OKLaboklab(60.54% 0.0767 -0.2087)
OKLCHoklch(60.54% 0.222 290.2)
XYZxyz(30.9963, 19.7980, 92.6122)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865DFA #D1FA5D
analogous
#5D82FA #865DFA #D55DFA
triadic
#865DFA #FA865D #5DFA86
tetradic
#865DFA #FA5D82 #D1FA5D #5DFAD5
square
#865DFA #FA5D82 #D1FA5D #5DFAD5
split-complementary
#865DFA #FAD55D #82FA5D
monochromatic
#3D07D6 #5A22F8 #865DFA #B298FC #DFD4FE

Accessibility & contrast

On white

4.23
#865DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#865DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865DFA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865DFA#FFFFFF#000000##000000
##865DFA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0077F7
Tritanopia (blue-blind)
#6182A3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #865dfa;
/* rgb */ color: rgb(134, 93, 250);
/* oklch */ color: oklch(60.5% 0.222 290.2);
Tailwind
colors: {
  custom: {
    50: '#b18dfd',
    500: '#865dfa',
    950: '#000000',
  },
}
SCSS
$custom: #865dfa;
$custom-light: #b18dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#865dfa",
  "rgb": {
    "r": 134,
    "g": 93,
    "b": 250
  },
  "hsl": {
    "h": 255.669,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60541,
    "c": 0.22232,
    "h": 290.2
  },
  "luminance": 0.19799
}

Semantic roles & 50–950 ramp

primary
#865DFA
secondary
#E5F2C1
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #865DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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