#7859E7#7859E7

#7859E7 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.3% C 0.205 H 288.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7859E7
RGBrgb(120, 89, 231)
HSLhsl(253, 75%, 63%)
HSVhsv(253, 61%, 91%)
CMYKcmyk(48.1%, 61.5%, 0%, 9.4%)
CIE-LABlab(48.14, 47.01, -67.98)
CIE-LCHlch(48.14, 82.65, 304.66°)
OKLaboklab(57.29% 0.064 -0.1946)
OKLCHoklch(57.29% 0.205 288.2)
XYZxyz(25.7377, 16.9062, 77.4929)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859E7 #C8E759
analogous
#5981E7 #7859E7 #BF59E7
triadic
#7859E7 #E77859 #59E778
tetradic
#7859E7 #E75981 #C8E759 #59E7BF
square
#7859E7 #E75981 #C8E759 #59E7BF
split-complementary
#7859E7 #E7BF59 #81E759
monochromatic
#3919AD #4D24DF #7859E7 #A38EEF #CFC4F6

Accessibility & contrast

On white

4.79
#7859E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7859E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7859E7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859E7#FFFFFF#000000##FFFFFF
##7859E71.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#527A98
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7859e7;
/* rgb */ color: rgb(120, 89, 231);
/* oklch */ color: oklch(57.3% 0.205 288.2);
Tailwind
colors: {
  custom: {
    50: '#a789f0',
    500: '#7859e7',
    950: '#000000',
  },
}
SCSS
$custom: #7859e7;
$custom-light: #a789f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7859e7",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 253.099,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57286,
    "c": 0.20483,
    "h": 288.2
  },
  "luminance": 0.16907
}

Semantic roles & 50–950 ramp

primary
#7859E7
secondary
#DCE8B4
accent
#D70FAB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7859E7

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

Preview Lab → · Contrast checker → · Palette generator →

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