#865DF3#865DF3

#865DF3 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.214 H 291.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#865DF3
RGBrgb(134, 93, 243)
HSLhsl(256, 86%, 66%)
HSVhsv(256, 62%, 95%)
CMYKcmyk(44.9%, 61.7%, 0%, 4.7%)
CIE-LABlab(51.11, 50.84, -69.83)
CIE-LCHlch(51.11, 86.38, 306.06°)
OKLaboklab(60.03% 0.0772 -0.1996)
OKLCHoklch(60.03% 0.214 291.2)
XYZxyz(29.9190, 19.3671, 86.9385)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865DF3 #CAF35D
analogous
#5D7FF3 #865DF3 #D15DF3
triadic
#865DF3 #F3865D #5DF386
tetradic
#865DF3 #F35D7F #CAF35D #5DF3D1
square
#865DF3 #F35D7F #CAF35D #5DF3D1
split-complementary
#865DF3 #F3D15D #7FF35D
monochromatic
#410FC7 #5B24EF #865DF3 #B196F7 #DBCFFB

Accessibility & contrast

On white

4.31
#865DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#865DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865DF3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865DF3#FFFFFF#000000##000000
##865DF31.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#6580A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #865df3;
/* rgb */ color: rgb(134, 93, 243);
/* oklch */ color: oklch(60.0% 0.214 291.2);
Tailwind
colors: {
  custom: {
    50: '#b18df8',
    500: '#865df3',
    950: '#000000',
  },
}
SCSS
$custom: #865df3;
$custom-light: #b18df8;
$custom-dark: #000000;
JSON
{
  "hex": "#865df3",
  "rgb": {
    "r": 134,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 256.4,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60026,
    "c": 0.214,
    "h": 291.2
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

primary
#865DF3
secondary
#E1EFBD
accent
#E303A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #865DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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