#7859CF#7859CF

#7859CF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.175 H 291.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7859CF
RGBrgb(120, 89, 207)
HSLhsl(256, 55%, 58%)
HSVhsv(256, 57%, 81%)
CMYKcmyk(42%, 57%, 0%, 18.8%)
CIE-LABlab(46.50, 40.26, -56.98)
CIE-LCHlch(46.50, 69.76, 305.24°)
OKLaboklab(55.56% 0.0649 -0.1622)
OKLCHoklch(55.56% 0.175 291.8)
XYZxyz(22.5775, 15.6422, 60.8491)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859CF #B0CF59
analogous
#5975CF #7859CF #B359CF
triadic
#7859CF #CF7859 #59CF78
tetradic
#7859CF #CF5975 #B0CF59 #59CFB3
square
#7859CF #CF5975 #B0CF59 #59CFB3
split-complementary
#7859CF #CFB359 #75CF59
monochromatic
#402787 #5735B6 #7859CF #9F88DD #C5B8EA

Accessibility & contrast

On white

5.09
#7859CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7859CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7859CF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859CF#FFFFFF#000000##FFFFFF
##7859CF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1270D3
Deuteranopia (green-blind)
#1E6CCC
Tritanopia (blue-blind)
#60738B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7859cf;
/* rgb */ color: rgb(120, 89, 207);
/* oklch */ color: oklch(55.6% 0.175 291.8);
Tailwind
colors: {
  custom: {
    50: '#a489de',
    500: '#7859cf',
    950: '#000000',
  },
}
SCSS
$custom: #7859cf;
$custom-light: #a489de;
$custom-dark: #000000;
JSON
{
  "hex": "#7859cf",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 255.763,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55564,
    "c": 0.17472,
    "h": 291.8
  },
  "luminance": 0.15643
}

Semantic roles & 50–950 ramp

primary
#7859CF
secondary
#CDD9AA
accent
#DE49B7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7859CF

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

Preview Lab → · Contrast checker → · Palette generator →

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