#7859F6#7859F6

#7859F6 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.223 H 286.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7859F6
RGBrgb(120, 89, 246)
HSLhsl(252, 90%, 66%)
HSVhsv(252, 64%, 96%)
CMYKcmyk(51.2%, 63.8%, 0%, 3.5%)
CIE-LABlab(49.24, 51.28, -74.61)
CIE-LCHlch(49.24, 90.53, 304.50°)
OKLaboklab(58.43% 0.0627 -0.2141)
OKLCHoklch(58.43% 0.223 286.3)
XYZxyz(27.9477, 17.7902, 89.1321)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859F6 #D7F659
analogous
#5988F6 #7859F6 #C659F6
triadic
#7859F6 #F67859 #59F678
tetradic
#7859F6 #F65988 #D7F659 #59F6C6
square
#7859F6 #F65988 #D7F659 #59F6C6
split-complementary
#7859F6 #F6C659 #88F659
monochromatic
#310BCA #491FF3 #7859F6 #A793F9 #D6CDFC

Accessibility & contrast

On white

4.61
#7859F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7859F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7859F6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859F6#FFFFFF#000000##FFFFFF
##7859F61.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FB
Deuteranopia (green-blind)
#0070F3
Tritanopia (blue-blind)
#4780A0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7859f6;
/* rgb */ color: rgb(120, 89, 246);
/* oklch */ color: oklch(58.4% 0.223 286.3);
Tailwind
colors: {
  custom: {
    50: '#a98afa',
    500: '#7859f6',
    950: '#000000',
  },
}
SCSS
$custom: #7859f6;
$custom-light: #a98afa;
$custom-dark: #000000;
JSON
{
  "hex": "#7859f6",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 246
  },
  "hsl": {
    "h": 251.847,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58429,
    "c": 0.22306,
    "h": 286.3
  },
  "luminance": 0.17792
}

Semantic roles & 50–950 ramp

primary
#7859F6
secondary
#E5F0BB
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7859F6

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

Preview Lab → · Contrast checker → · Palette generator →

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