#7863CD#7863CD

#7863CD is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.1% C 0.158 H 289.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7863CD
RGBrgb(120, 99, 205)
HSLhsl(252, 51%, 60%)
HSVhsv(252, 52%, 80%)
CMYKcmyk(41.5%, 51.7%, 0%, 19.6%)
CIE-LABlab(48.67, 33.86, -52.35)
CIE-LCHlch(48.67, 62.35, 302.89°)
OKLaboklab(57.13% 0.0528 -0.1486)
OKLCHoklch(57.13% 0.158 289.6)
XYZxyz(23.2240, 17.3238, 59.8660)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863CD #B8CD63
analogous
#6383CD #7863CD #AD63CD
triadic
#7863CD #CD7863 #63CD78
tetradic
#7863CD #CD6383 #B8CD63 #63CDAD
square
#7863CD #CD6383 #B8CD63 #63CDAD
split-complementary
#7863CD #CDAD63 #83CD63
monochromatic
#3F2C8A #543BB8 #7863CD #A091DC #C8C0EB

Accessibility & contrast

On white

4.70
#7863CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7863CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7863CD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863CD#FFFFFF#000000##FFFFFF
##7863CD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3476D1
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#60798F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7863cd;
/* rgb */ color: rgb(120, 99, 205);
/* oklch */ color: oklch(57.1% 0.158 289.6);
Tailwind
colors: {
  custom: {
    50: '#a490dd',
    500: '#7863cd',
    950: '#000000',
  },
}
SCSS
$custom: #7863cd;
$custom-light: #a490dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7863cd",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 205
  },
  "hsl": {
    "h": 251.887,
    "s": 51.456,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57128,
    "c": 0.15772,
    "h": 289.6
  },
  "luminance": 0.17325
}

Semantic roles & 50–950 ramp

primary
#7863CD
secondary
#D2DAB1
accent
#DB4DBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7863CD

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

Preview Lab → · Contrast checker → · Palette generator →

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