#7863BF#7863BF

#7863BF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.3% C 0.139 H 291.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7863BF
RGBrgb(120, 99, 191)
HSLhsl(254, 42%, 57%)
HSVhsv(254, 48%, 75%)
CMYKcmyk(37.2%, 48.2%, 0%, 25.1%)
CIE-LABlab(47.85, 29.94, -45.60)
CIE-LCHlch(47.85, 54.55, 303.29°)
OKLaboklab(56.26% 0.0516 -0.1288)
OKLCHoklch(56.26% 0.139 291.8)
XYZxyz(21.6090, 16.6778, 51.3607)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7863BF #AABF63
analogous
#637CBF #7863BF #A663BF
triadic
#7863BF #BF7863 #63BF78
tetradic
#7863BF #BF637C #AABF63 #63BFA6
square
#7863BF #BF637C #AABF63 #63BFA6
split-complementary
#7863BF #BFA663 #7CBF63
monochromatic
#413177 #5843A2 #7863BF #9E8ED1 #C3BAE3

Accessibility & contrast

On white

4.84
#7863BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7863BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7863BF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7863BF#FFFFFF#000000##FFFFFF
##7863BF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#667588
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7863bf;
/* rgb */ color: rgb(120, 99, 191);
/* oklch */ color: oklch(56.3% 0.139 291.8);
Tailwind
colors: {
  custom: {
    50: '#a28fd3',
    500: '#7863bf',
    950: '#000000',
  },
}
SCSS
$custom: #7863bf;
$custom-light: #a28fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7863bf",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 191
  },
  "hsl": {
    "h": 253.696,
    "s": 41.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56256,
    "c": 0.13874,
    "h": 291.8
  },
  "luminance": 0.16678
}

Semantic roles & 50–950 ramp

primary
#7863BF
secondary
#C9D2AC
accent
#D256B5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #7863BF

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

Preview Lab → · Contrast checker → · Palette generator →

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