#7863DD#7863DD

#7863DD is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.2% C 0.179 H 287.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7863DD
RGBrgb(120, 99, 221)
HSLhsl(250, 64%, 63%)
HSVhsv(250, 55%, 87%)
CMYKcmyk(45.7%, 55.2%, 0%, 13.3%)
CIE-LABlab(49.66, 38.42, -59.87)
CIE-LCHlch(49.66, 71.14, 302.69°)
OKLaboklab(58.19% 0.0535 -0.1707)
OKLCHoklch(58.19% 0.179 287.4)
XYZxyz(25.2550, 18.1362, 70.5625)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863DD #C8DD63
analogous
#638BDD #7863DD #B563DD
triadic
#7863DD #DD7863 #63DD78
tetradic
#7863DD #DD638B #C8DD63 #63DDB5
square
#7863DD #DD638B #C8DD63 #63DDB5
split-complementary
#7863DD #DDB563 #8BDD63
monochromatic
#3923A2 #4D31D2 #7863DD #A395E8 #CFC7F3

Accessibility & contrast

On white

4.54
#7863DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7863DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7863DD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863DD#FFFFFF#000000##000000
##7863DD1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C79E1
Deuteranopia (green-blind)
#1C73DA
Tritanopia (blue-blind)
#587E96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7863dd;
/* rgb */ color: rgb(120, 99, 221);
/* oklch */ color: oklch(58.2% 0.179 287.4);
Tailwind
colors: {
  custom: {
    50: '#a590e8',
    500: '#7863dd',
    950: '#000000',
  },
}
SCSS
$custom: #7863dd;
$custom-light: #a590e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7863dd",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 221
  },
  "hsl": {
    "h": 250.328,
    "s": 64.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58187,
    "c": 0.17886,
    "h": 287.4
  },
  "luminance": 0.18137
}

Semantic roles & 50–950 ramp

primary
#7863DD
secondary
#DCE4B8
accent
#CC19AD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7863DD

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

Preview Lab → · Contrast checker → · Palette generator →

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