#7859EB#7859EB

#7859EB is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.6% C 0.210 H 287.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7859EB
RGBrgb(120, 89, 235)
HSLhsl(253, 78%, 64%)
HSVhsv(253, 62%, 92%)
CMYKcmyk(48.9%, 62.1%, 0%, 7.8%)
CIE-LABlab(48.43, 48.14, -69.76)
CIE-LCHlch(48.43, 84.76, 304.61°)
OKLaboklab(57.59% 0.0637 -0.1998)
OKLCHoklch(57.59% 0.21 287.7)
XYZxyz(26.3091, 17.1348, 80.5022)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859EB #CCEB59
analogous
#5983EB #7859EB #C159EB
triadic
#7859EB #EB7859 #59EB78
tetradic
#7859EB #EB5983 #CCEB59 #59EBC1
square
#7859EB #EB5983 #CCEB59 #59EBC1
split-complementary
#7859EB #EBC159 #83EB59
monochromatic
#3716B4 #4C22E4 #7859EB #A490F2 #D1C6F8

Accessibility & contrast

On white

4.74
#7859EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7859EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7859EB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859EB#FFFFFF#000000##FFFFFF
##7859EB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#507C9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7859eb;
/* rgb */ color: rgb(120, 89, 235);
/* oklch */ color: oklch(57.6% 0.210 287.7);
Tailwind
colors: {
  custom: {
    50: '#a789f2',
    500: '#7859eb',
    950: '#000000',
  },
}
SCSS
$custom: #7859eb;
$custom-light: #a789f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7859eb",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 252.74,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57586,
    "c": 0.20973,
    "h": 287.7
  },
  "luminance": 0.17136
}

Semantic roles & 50–950 ramp

primary
#7859EB
secondary
#DFEAB6
accent
#DB0BAF
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7859EB

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

Preview Lab → · Contrast checker → · Palette generator →

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