#863DC4#863DC4

#863DC4 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.3% C 0.202 H 305.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#863DC4
RGBrgb(134, 61, 196)
HSLhsl(272, 53%, 50%)
HSVhsv(272, 69%, 77%)
CMYKcmyk(31.6%, 68.9%, 0%, 23.1%)
CIE-LABlab(41.83, 55.20, -58.09)
CIE-LCHlch(41.83, 80.13, 313.54°)
OKLaboklab(52.29% 0.1161 -0.165)
OKLCHoklch(52.29% 0.202 305.1)
XYZxyz(21.4618, 12.3915, 53.4750)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#863DC4 #7BC43D
analogous
#423DC4 #863DC4 #C43DBF
triadic
#863DC4 #C4863D #3DC486
tetradic
#863DC4 #C4423D #7BC43D #3DBFC4
square
#863DC4 #C4423D #7BC43D #3DBFC4
split-complementary
#863DC4 #BFC43D #3DC442
monochromatic
#461F67 #662E96 #863DC4 #A36CD2 #C19BE1

Accessibility & contrast

On white

6.04
#863DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#863DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #863DC4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##863DC4#FFFFFF#000000##FFFFFF
##863DC41.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0663C1
Tritanopia (blue-blind)
#7B5C7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #863dc4;
/* rgb */ color: rgb(134, 61, 196);
/* oklch */ color: oklch(52.3% 0.202 305.1);
Tailwind
colors: {
  custom: {
    50: '#ae78d7',
    500: '#863dc4',
    950: '#000000',
  },
}
SCSS
$custom: #863dc4;
$custom-light: #ae78d7;
$custom-dark: #000000;
JSON
{
  "hex": "#863dc4",
  "rgb": {
    "r": 134,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 272.444,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5229,
    "c": 0.20173,
    "h": 305.1
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

primary
#863DC4
secondary
#ACCD90
accent
#DD4B8E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #863DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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