#863FAC#863FAC

#863FAC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.174 H 311.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#863FAC
RGBrgb(134, 63, 172)
HSLhsl(279, 46%, 46%)
HSVhsv(279, 63%, 67%)
CMYKcmyk(22.1%, 63.4%, 0%, 32.5%)
CIE-LABlab(40.58, 48.76, -46.00)
CIE-LCHlch(40.58, 67.04, 316.67°)
OKLaboklab(50.88% 0.1158 -0.1295)
OKLCHoklch(50.88% 0.174 311.8)
XYZxyz(19.0541, 11.6024, 40.2575)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#863FAC #65AC3F
analogous
#503FAC #863FAC #AC3F9B
triadic
#863FAC #AC863F #3FAC86
tetradic
#863FAC #AC503F #65AC3F #3F9BAC
square
#863FAC #AC503F #65AC3F #3F9BAC
split-complementary
#863FAC #9BAC3F #3FAC50
monochromatic
#401E52 #632F7F #863FAC #A363C6 #BD8FD6

Accessibility & contrast

On white

6.32
#863FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#863FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #863FAC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##863FAC#FFFFFF#000000##FFFFFF
##863FAC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5CAF
Deuteranopia (green-blind)
#3661A9
Tritanopia (blue-blind)
#825470
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #863fac;
/* rgb */ color: rgb(134, 63, 172);
/* oklch */ color: oklch(50.9% 0.174 311.8);
Tailwind
colors: {
  custom: {
    50: '#ac78c5',
    500: '#863fac',
    950: '#000000',
  },
}
SCSS
$custom: #863fac;
$custom-light: #ac78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#863fac",
  "rgb": {
    "r": 134,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 279.083,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50879,
    "c": 0.17373,
    "h": 311.8
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

primary
#863FAC
secondary
#9AC186
accent
#D65280
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #863FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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