#7863BB#7863BB

#7863BB is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.0% C 0.133 H 292.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7863BB
RGBrgb(120, 99, 187)
HSLhsl(254, 39%, 56%)
HSVhsv(254, 47%, 73%)
CMYKcmyk(35.8%, 47.1%, 0%, 26.7%)
CIE-LABlab(47.63, 28.85, -43.64)
CIE-LCHlch(47.63, 52.31, 303.47°)
OKLaboklab(56.02% 0.0511 -0.1231)
OKLCHoklch(56.02% 0.133 292.6)
XYZxyz(21.1749, 16.5041, 49.0741)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863BB #A6BB63
analogous
#637ABB #7863BB #A463BB
triadic
#7863BB #BB7863 #63BB78
tetradic
#7863BB #BB637A #A6BB63 #63BBA4
square
#7863BB #BB637A #A6BB63 #63BBA4
split-complementary
#7863BB #BBA463 #7ABB63
monochromatic
#413272 #59449D #7863BB #9D8ECE #C2B8E0

Accessibility & contrast

On white

4.88
#7863BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7863BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7863BB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863BB#FFFFFF#000000##FFFFFF
##7863BB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4472BE
Deuteranopia (green-blind)
#476FB9
Tritanopia (blue-blind)
#687486
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7863bb;
/* rgb */ color: rgb(120, 99, 187);
/* oklch */ color: oklch(56.0% 0.133 292.6);
Tailwind
colors: {
  custom: {
    50: '#a28fd0',
    500: '#7863bb',
    950: '#000000',
  },
}
SCSS
$custom: #7863bb;
$custom-light: #a28fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7863bb",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 187
  },
  "hsl": {
    "h": 254.318,
    "s": 39.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56017,
    "c": 0.13325,
    "h": 292.6
  },
  "luminance": 0.16505
}

Semantic roles & 50–950 ramp

primary
#7863BB
secondary
#C6CFAB
accent
#CF59B3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7863BB

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

Preview Lab → · Contrast checker → · Palette generator →

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