#7863DA#7863DA

#7863DA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.0% C 0.175 H 287.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7863DA
RGBrgb(120, 99, 218)
HSLhsl(251, 62%, 62%)
HSVhsv(251, 55%, 85%)
CMYKcmyk(45%, 54.6%, 0%, 14.5%)
CIE-LABlab(49.47, 37.56, -58.47)
CIE-LCHlch(49.47, 69.50, 302.71°)
OKLaboklab(57.98% 0.0534 -0.1666)
OKLCHoklch(57.98% 0.175 287.8)
XYZxyz(24.8588, 17.9777, 68.4763)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863DA #C5DA63
analogous
#638ADA #7863DA #B363DA
triadic
#7863DA #DA7863 #63DA78
tetradic
#7863DA #DA638A #C5DA63 #63DAB3
square
#7863DA #DA638A #C5DA63 #63DAB3
split-complementary
#7863DA #DAB363 #8ADA63
monochromatic
#3A259D #4D32CE #7863DA #A394E6 #CEC6F1

Accessibility & contrast

On white

4.57
#7863DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7863DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7863DA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863DA#FFFFFF#000000##000000
##7863DA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2278DE
Deuteranopia (green-blind)
#2372D7
Tritanopia (blue-blind)
#597D95
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7863da;
/* rgb */ color: rgb(120, 99, 218);
/* oklch */ color: oklch(58.0% 0.175 287.8);
Tailwind
colors: {
  custom: {
    50: '#a590e6',
    500: '#7863da',
    950: '#000000',
  },
}
SCSS
$custom: #7863da;
$custom-light: #a590e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7863da",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 218
  },
  "hsl": {
    "h": 250.588,
    "s": 61.658,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57983,
    "c": 0.17495,
    "h": 287.8
  },
  "luminance": 0.17979
}

Semantic roles & 50–950 ramp

primary
#7863DA
secondary
#DBE2B7
accent
#C91CAB
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7863DA

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

Preview Lab → · Contrast checker → · Palette generator →

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