#7859DC#7859DC

#7859DC is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.5% C 0.191 H 289.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7859DC
RGBrgb(120, 89, 220)
HSLhsl(254, 65%, 61%)
HSVhsv(254, 60%, 86%)
CMYKcmyk(45.5%, 59.5%, 0%, 13.7%)
CIE-LABlab(47.37, 43.90, -63.00)
CIE-LCHlch(47.37, 76.78, 304.87°)
OKLaboklab(56.48% 0.0647 -0.1799)
OKLCHoklch(56.48% 0.191 289.8)
XYZxyz(24.2327, 16.3042, 69.5665)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859DC #BDDC59
analogous
#597CDC #7859DC #B959DC
triadic
#7859DC #DC7859 #59DC78
tetradic
#7859DC #DC597C #BDDC59 #59DCB9
square
#7859DC #DC597C #BDDC59 #59DCB9
split-complementary
#7859DC #DCB959 #7CDC59
monochromatic
#3D209A #512BCD #7859DC #A18CE7 #CABEF1

Accessibility & contrast

On white

4.93
#7859DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7859DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7859DC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859DC#FFFFFF#000000##FFFFFF
##7859DC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#597792
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7859dc;
/* rgb */ color: rgb(120, 89, 220);
/* oklch */ color: oklch(56.5% 0.191 289.8);
Tailwind
colors: {
  custom: {
    50: '#a689e8',
    500: '#7859dc',
    950: '#000000',
  },
}
SCSS
$custom: #7859dc;
$custom-light: #a689e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7859dc",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 254.198,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56479,
    "c": 0.19117,
    "h": 289.8
  },
  "luminance": 0.16305
}

Semantic roles & 50–950 ramp

primary
#7859DC
secondary
#D6E1AF
accent
#CD18A2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7859DC

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

Preview Lab → · Contrast checker → · Palette generator →

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