#7863DB#7863DB

#7863DB is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.1% C 0.176 H 287.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7863DB
RGBrgb(120, 99, 219)
HSLhsl(251, 63%, 62%)
HSVhsv(251, 55%, 86%)
CMYKcmyk(45.2%, 54.8%, 0%, 14.1%)
CIE-LABlab(49.53, 37.85, -58.94)
CIE-LCHlch(49.53, 70.05, 302.71°)
OKLaboklab(58.05% 0.0534 -0.168)
OKLCHoklch(58.05% 0.176 287.6)
XYZxyz(24.9901, 18.0302, 69.1676)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863DB #C6DB63
analogous
#638ADB #7863DB #B463DB
triadic
#7863DB #DB7863 #63DB78
tetradic
#7863DB #DB638A #C6DB63 #63DBB4
square
#7863DB #DB638A #C6DB63 #63DBB4
split-complementary
#7863DB #DBB463 #8ADB63
monochromatic
#3A259F #4D31D0 #7863DB #A395E6 #CEC6F2

Accessibility & contrast

On white

4.56
#7863DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7863DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7863DB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863DB#FFFFFF#000000##000000
##7863DB1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2079DF
Deuteranopia (green-blind)
#2173D8
Tritanopia (blue-blind)
#597D95
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7863db;
/* rgb */ color: rgb(120, 99, 219);
/* oklch */ color: oklch(58.1% 0.176 287.6);
Tailwind
colors: {
  custom: {
    50: '#a590e7',
    500: '#7863db',
    950: '#000000',
  },
}
SCSS
$custom: #7863db;
$custom-light: #a590e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7863db",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 219
  },
  "hsl": {
    "h": 250.5,
    "s": 62.5,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58051,
    "c": 0.17626,
    "h": 287.6
  },
  "luminance": 0.18031
}

Semantic roles & 50–950 ramp

primary
#7863DB
secondary
#DBE3B7
accent
#CA1BAC
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7863DB

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

Preview Lab → · Contrast checker → · Palette generator →

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