#863EB5#863EB5

#863EB5 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.185 H 309.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#863EB5
RGBrgb(134, 62, 181)
HSLhsl(276, 49%, 48%)
HSVhsv(276, 66%, 71%)
CMYKcmyk(26%, 65.7%, 0%, 29%)
CIE-LABlab(40.98, 51.27, -50.68)
CIE-LCHlch(40.98, 72.09, 315.33°)
OKLaboklab(51.35% 0.1166 -0.1432)
OKLCHoklch(51.35% 0.185 309.1)
XYZxyz(19.8930, 11.8501, 44.9465)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#863EB5 #6DB53E
analogous
#4B3EB5 #863EB5 #B53EA8
triadic
#863EB5 #B5863E #3EB586
tetradic
#863EB5 #B54B3E #6DB53E #3EA8B5
square
#863EB5 #B54B3E #6DB53E #3EA8B5
split-complementary
#863EB5 #A8B53E #3EB54B
monochromatic
#431F5A #642E87 #863EB5 #A366CA #BE93DA

Accessibility & contrast

On white

6.23
#863EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#863EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #863EB5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##863EB5#FFFFFF#000000##FFFFFF
##863EB51.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#2B62B2
Tritanopia (blue-blind)
#7F5774
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #863eb5;
/* rgb */ color: rgb(134, 62, 181);
/* oklch */ color: oklch(51.4% 0.185 309.1);
Tailwind
colors: {
  custom: {
    50: '#ad78cc',
    500: '#863eb5',
    950: '#000000',
  },
}
SCSS
$custom: #863eb5;
$custom-light: #ad78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#863eb5",
  "rgb": {
    "r": 134,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 276.303,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51352,
    "c": 0.18465,
    "h": 309.1
  },
  "luminance": 0.1185
}

Semantic roles & 50–950 ramp

primary
#863EB5
secondary
#A1C589
accent
#D94F85
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #863EB5

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

Preview Lab → · Contrast checker → · Palette generator →

#863EB5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva