#7859EA#7859EA

#7859EA is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.5% C 0.209 H 287.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7859EA
RGBrgb(120, 89, 234)
HSLhsl(253, 78%, 63%)
HSVhsv(253, 62%, 92%)
CMYKcmyk(48.7%, 62%, 0%, 8.2%)
CIE-LABlab(48.36, 47.86, -69.32)
CIE-LCHlch(48.36, 84.23, 304.62°)
OKLaboklab(57.51% 0.0638 -0.1985)
OKLCHoklch(57.51% 0.209 287.8)
XYZxyz(26.1651, 17.0772, 79.7435)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859EA #CBEA59
analogous
#5982EA #7859EA #C159EA
triadic
#7859EA #EA7859 #59EA78
tetradic
#7859EA #EA5982 #CBEA59 #59EAC1
square
#7859EA #EA5982 #CBEA59 #59EAC1
split-complementary
#7859EA #EAC159 #82EA59
monochromatic
#3817B2 #4C23E3 #7859EA #A48FF1 #D0C6F8

Accessibility & contrast

On white

4.76
#7859EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7859EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7859EA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859EA#FFFFFF#000000##FFFFFF
##7859EA1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#507B99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7859ea;
/* rgb */ color: rgb(120, 89, 234);
/* oklch */ color: oklch(57.5% 0.209 287.8);
Tailwind
colors: {
  custom: {
    50: '#a789f2',
    500: '#7859ea',
    950: '#000000',
  },
}
SCSS
$custom: #7859ea;
$custom-light: #a789f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7859ea",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 252.828,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.20851,
    "h": 287.8
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#7859EA
secondary
#DEE9B6
accent
#DA0CAE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7859EA

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

Preview Lab → · Contrast checker → · Palette generator →

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