#7859F4#7859F4

#7859F4 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.3% C 0.221 H 286.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7859F4
RGBrgb(120, 89, 244)
HSLhsl(252, 88%, 65%)
HSVhsv(252, 64%, 96%)
CMYKcmyk(50.8%, 63.5%, 0%, 4.3%)
CIE-LABlab(49.09, 50.71, -73.73)
CIE-LCHlch(49.09, 89.49, 304.52°)
OKLaboklab(58.27% 0.0629 -0.2115)
OKLCHoklch(58.27% 0.221 286.6)
XYZxyz(27.6424, 17.6681, 87.5242)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859F4 #D5F459
analogous
#5987F4 #7859F4 #C559F4
triadic
#7859F4 #F47859 #59F478
tetradic
#7859F4 #F45987 #D5F459 #59F4C5
square
#7859F4 #F45987 #D5F459 #59F4C5
split-complementary
#7859F4 #F4C559 #87F459
monochromatic
#320DC6 #4920F0 #7859F4 #A792F8 #D5CCFC

Accessibility & contrast

On white

4.63
#7859F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7859F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7859F4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859F4#FFFFFF#000000##FFFFFF
##7859F41.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F9
Deuteranopia (green-blind)
#0070F1
Tritanopia (blue-blind)
#497F9F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7859f4;
/* rgb */ color: rgb(120, 89, 244);
/* oklch */ color: oklch(58.3% 0.221 286.6);
Tailwind
colors: {
  custom: {
    50: '#a98af9',
    500: '#7859f4',
    950: '#000000',
  },
}
SCSS
$custom: #7859f4;
$custom-light: #a98af9;
$custom-dark: #000000;
JSON
{
  "hex": "#7859f4",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 244
  },
  "hsl": {
    "h": 252,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58274,
    "c": 0.22066,
    "h": 286.6
  },
  "luminance": 0.17669
}

Semantic roles & 50–950 ramp

primary
#7859F4
secondary
#E4EFBA
accent
#E401B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7859F4

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

Preview Lab → · Contrast checker → · Palette generator →

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