#7859BB#7859BB

#7859BB is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.2% C 0.149 H 295.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7859BB
RGBrgb(120, 89, 187)
HSLhsl(259, 42%, 54%)
HSVhsv(259, 52%, 73%)
CMYKcmyk(35.8%, 52.4%, 0%, 26.7%)
CIE-LABlab(45.26, 34.77, -47.42)
CIE-LCHlch(45.26, 58.80, 306.25°)
OKLaboklab(54.24% 0.0643 -0.1341)
OKLCHoklch(54.24% 0.149 295.6)
XYZxyz(20.2855, 14.7253, 48.7776)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859BB #9CBB59
analogous
#596BBB #7859BB #A959BB
triadic
#7859BB #BB7859 #59BB78
tetradic
#7859BB #BB596B #9CBB59 #59BBA9
square
#7859BB #BB596B #9CBB59 #59BBA9
split-complementary
#7859BB #BBA959 #6BBB59
monochromatic
#412D6D #5B3E98 #7859BB #9B84CD #BFB0DF

Accessibility & contrast

On white

5.32
#7859BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7859BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7859BB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859BB#FFFFFF#000000##FFFFFF
##7859BB1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBE
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#686D81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7859bb;
/* rgb */ color: rgb(120, 89, 187);
/* oklch */ color: oklch(54.2% 0.149 295.6);
Tailwind
colors: {
  custom: {
    50: '#a289d0',
    500: '#7859bb',
    950: '#000000',
  },
}
SCSS
$custom: #7859bb;
$custom-light: #a289d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7859bb",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 258.98,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54243,
    "c": 0.14876,
    "h": 295.6
  },
  "luminance": 0.14726
}

Semantic roles & 50–950 ramp

primary
#7859BB
secondary
#C0CDA3
accent
#D256AB
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7859BB

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

Preview Lab → · Contrast checker → · Palette generator →

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