#7863CA#7863CA

#7863CA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 56.9% C 0.154 H 290.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7863CA
RGBrgb(120, 99, 202)
HSLhsl(252, 49%, 59%)
HSVhsv(252, 51%, 79%)
CMYKcmyk(40.6%, 51%, 0%, 20.8%)
CIE-LABlab(48.49, 33.01, -50.92)
CIE-LCHlch(48.49, 60.68, 302.95°)
OKLaboklab(56.94% 0.0526 -0.1444)
OKLCHoklch(56.94% 0.154 290)
XYZxyz(22.8653, 17.1803, 57.9771)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863CA #B5CA63
analogous
#6382CA #7863CA #AC63CA
triadic
#7863CA #CA7863 #63CA78
tetradic
#7863CA #CA6382 #B5CA63 #63CAAC
square
#7863CA #CA6382 #B5CA63 #63CAAC
split-complementary
#7863CA #CAAC63 #82CA63
monochromatic
#3F2D85 #553DB3 #7863CA #A091DA #C7BEE9

Accessibility & contrast

On white

4.73
#7863CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7863CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7863CA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863CA#FFFFFF#000000##FFFFFF
##7863CA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3875CE
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#61788D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7863ca;
/* rgb */ color: rgb(120, 99, 202);
/* oklch */ color: oklch(56.9% 0.154 290.0);
Tailwind
colors: {
  custom: {
    50: '#a390db',
    500: '#7863ca',
    950: '#000000',
  },
}
SCSS
$custom: #7863ca;
$custom-light: #a390db;
$custom-dark: #000000;
JSON
{
  "hex": "#7863ca",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 202
  },
  "hsl": {
    "h": 252.233,
    "s": 49.282,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56936,
    "c": 0.15369,
    "h": 290
  },
  "luminance": 0.17181
}

Semantic roles & 50–950 ramp

primary
#7863CA
secondary
#D0D9B0
accent
#D94FBD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7863CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7863CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva