#7859FC#7859FC

#7859FC is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.9% C 0.230 H 285.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7859FC
RGBrgb(120, 89, 252)
HSLhsl(251, 96%, 67%)
HSVhsv(251, 65%, 99%)
CMYKcmyk(52.4%, 64.7%, 0%, 1.2%)
CIE-LABlab(49.70, 52.99, -77.21)
CIE-LCHlch(49.70, 93.64, 304.46°)
OKLaboklab(58.9% 0.0621 -0.2217)
OKLCHoklch(58.9% 0.23 285.6)
XYZxyz(28.8835, 18.1646, 94.0607)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859FC #DDFC59
analogous
#598CFC #7859FC #CA59FC
triadic
#7859FC #FC7859 #59FC78
tetradic
#7859FC #FC598C #DDFC59 #59FCCA
square
#7859FC #FC598C #DDFC59 #59FCCA
split-complementary
#7859FC #FCCA59 #8CFC59
monochromatic
#2C04D7 #471DFB #7859FC #A995FD #DAD1FE

Accessibility & contrast

On white

4.53
#7859FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7859FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7859FC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859FC#FFFFFF#000000##000000
##7859FC1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0071F9
Tritanopia (blue-blind)
#4282A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7859fc;
/* rgb */ color: rgb(120, 89, 252);
/* oklch */ color: oklch(58.9% 0.230 285.6);
Tailwind
colors: {
  custom: {
    50: '#aa8afe',
    500: '#7859fc',
    950: '#000000',
  },
}
SCSS
$custom: #7859fc;
$custom-light: #aa8afe;
$custom-dark: #000000;
JSON
{
  "hex": "#7859fc",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 252
  },
  "hsl": {
    "h": 251.411,
    "s": 96.45,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58899,
    "c": 0.23024,
    "h": 285.6
  },
  "luminance": 0.18166
}

Semantic roles & 50–950 ramp

primary
#7859FC
secondary
#E9F2BE
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7859FC

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

Preview Lab → · Contrast checker → · Palette generator →

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