#7859F7#7859F7

#7859F7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.5% C 0.224 H 286.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7859F7
RGBrgb(120, 89, 247)
HSLhsl(252, 91%, 66%)
HSVhsv(252, 64%, 97%)
CMYKcmyk(51.4%, 64%, 0%, 3.1%)
CIE-LABlab(49.32, 51.56, -75.04)
CIE-LCHlch(49.32, 91.05, 304.49°)
OKLaboklab(58.51% 0.0626 -0.2153)
OKLCHoklch(58.51% 0.224 286.2)
XYZxyz(28.1016, 17.8518, 89.9427)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859F7 #D8F759
analogous
#5989F7 #7859F7 #C759F7
triadic
#7859F7 #F77859 #59F778
tetradic
#7859F7 #F75989 #D8F759 #59F7C7
square
#7859F7 #F75989 #D8F759 #59F7C7
split-complementary
#7859F7 #F7C759 #89F759
monochromatic
#300ACC #491FF4 #7859F7 #A793FA #D7CEFD

Accessibility & contrast

On white

4.59
#7859F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7859F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7859F7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859F7#FFFFFF#000000##FFFFFF
##7859F71.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#0071F4
Tritanopia (blue-blind)
#4680A0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7859f7;
/* rgb */ color: rgb(120, 89, 247);
/* oklch */ color: oklch(58.5% 0.224 286.2);
Tailwind
colors: {
  custom: {
    50: '#a98afb',
    500: '#7859f7',
    950: '#000000',
  },
}
SCSS
$custom: #7859f7;
$custom-light: #a98afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7859f7",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 247
  },
  "hsl": {
    "h": 251.772,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58507,
    "c": 0.22426,
    "h": 286.2
  },
  "luminance": 0.17853
}

Semantic roles & 50–950 ramp

primary
#7859F7
secondary
#E6F0BC
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7859F7

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

Preview Lab → · Contrast checker → · Palette generator →

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