#863DCB#863DCB

#863DCB is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.209 H 303.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#863DCB
RGBrgb(134, 61, 203)
HSLhsl(271, 58%, 52%)
HSVhsv(271, 70%, 80%)
CMYKcmyk(34%, 70%, 0%, 20.4%)
CIE-LABlab(42.33, 56.84, -61.33)
CIE-LCHlch(42.33, 83.62, 312.82°)
OKLaboklab(52.81% 0.1151 -0.1745)
OKLCHoklch(52.81% 0.209 303.4)
XYZxyz(22.2773, 12.7176, 57.7695)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#863DCB #82CB3D
analogous
#3F3DCB #863DCB #CB3DC9
triadic
#863DCB #CB863D #3DCB86
tetradic
#863DCB #CB3F3D #82CB3D #3DC9CB
square
#863DCB #CB3F3D #82CB3D #3DC9CB
split-complementary
#863DCB #C9CB3D #3DCB3F
monochromatic
#481E70 #672BA0 #863DCB #A46DD8 #C29EE5

Accessibility & contrast

On white

5.93
#863DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#863DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #863DCB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##863DCB#FFFFFF#000000##FFFFFF
##863DCB1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#785E80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #863dcb;
/* rgb */ color: rgb(134, 61, 203);
/* oklch */ color: oklch(52.8% 0.209 303.4);
Tailwind
colors: {
  custom: {
    50: '#af78dc',
    500: '#863dcb',
    950: '#000000',
  },
}
SCSS
$custom: #863dcb;
$custom-light: #af78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#863dcb",
  "rgb": {
    "r": 134,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 270.845,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52808,
    "c": 0.20906,
    "h": 303.4
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#863DCB
secondary
#B1D193
accent
#E14792
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #863DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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