#7868BB#7868BB

#7868BB is a mid, vivid violet. Relative luminance 0.175; OKLCH L 56.9% C 0.125 H 290.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7868BB
RGBrgb(120, 104, 187)
HSLhsl(252, 38%, 57%)
HSVhsv(252, 44%, 73%)
CMYKcmyk(35.8%, 44.4%, 0%, 26.7%)
CIE-LABlab(48.86, 25.85, -41.68)
CIE-LCHlch(48.86, 49.05, 301.81°)
OKLaboklab(56.95% 0.0444 -0.1173)
OKLCHoklch(56.95% 0.125 290.7)
XYZxyz(21.6633, 17.4810, 49.2369)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7868BB #ABBB68
analogous
#6882BB #7868BB #A268BB
triadic
#7868BB #BB7868 #68BB78
tetradic
#7868BB #BB6882 #ABBB68 #68BBA2
square
#7868BB #BB6882 #ABBB68 #68BBA2
split-complementary
#7868BB #BBA268 #82BB68
monochromatic
#413474 #58479E #7868BB #9E92CE #C3BCE1

Accessibility & contrast

On white

4.67
#7868BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7868BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7868BB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7868BB#FFFFFF#000000##FFFFFF
##7868BB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C76BE
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#677888
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7868bb;
/* rgb */ color: rgb(120, 104, 187);
/* oklch */ color: oklch(56.9% 0.125 290.7);
Tailwind
colors: {
  custom: {
    50: '#a293d0',
    500: '#7868bb',
    950: '#000000',
  },
}
SCSS
$custom: #7868bb;
$custom-light: #a293d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7868bb",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 251.566,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56945,
    "c": 0.12547,
    "h": 290.7
  },
  "luminance": 0.17482
}

Semantic roles & 50–950 ramp

primary
#7868BB
secondary
#CAD0AF
accent
#CE5AB8
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #7868BB

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

Preview Lab → · Contrast checker → · Palette generator →

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