#7859E8#7859E8

#7859E8 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.4% C 0.206 H 288.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7859E8
RGBrgb(120, 89, 232)
HSLhsl(253, 76%, 63%)
HSVhsv(253, 62%, 91%)
CMYKcmyk(48.3%, 61.6%, 0%, 9%)
CIE-LABlab(48.21, 47.29, -68.42)
CIE-LCHlch(48.21, 83.18, 304.65°)
OKLaboklab(57.36% 0.064 -0.1959)
OKLCHoklch(57.36% 0.206 288.1)
XYZxyz(25.8794, 16.9629, 78.2388)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859E8 #C9E859
analogous
#5981E8 #7859E8 #BF59E8
triadic
#7859E8 #E87859 #59E878
tetradic
#7859E8 #E85981 #C9E859 #59E8BF
square
#7859E8 #E85981 #C9E859 #59E8BF
split-complementary
#7859E8 #E8BF59 #81E859
monochromatic
#3918AE #4C23E1 #7859E8 #A48FEF #CFC5F7

Accessibility & contrast

On white

4.78
#7859E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7859E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7859E8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859E8#FFFFFF#000000##FFFFFF
##7859E81.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#006FE5
Tritanopia (blue-blind)
#527B98
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7859e8;
/* rgb */ color: rgb(120, 89, 232);
/* oklch */ color: oklch(57.4% 0.206 288.1);
Tailwind
colors: {
  custom: {
    50: '#a789f0',
    500: '#7859e8',
    950: '#000000',
  },
}
SCSS
$custom: #7859e8;
$custom-light: #a789f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7859e8",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 253.007,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5736,
    "c": 0.20606,
    "h": 288.1
  },
  "luminance": 0.16964
}

Semantic roles & 50–950 ramp

primary
#7859E8
secondary
#DDE8B5
accent
#D80EAC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7859E8

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

Preview Lab → · Contrast checker → · Palette generator →

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