#7859D8#7859D8

#7859D8 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.2% C 0.186 H 290.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7859D8
RGBrgb(120, 89, 216)
HSLhsl(255, 62%, 60%)
HSVhsv(255, 59%, 85%)
CMYKcmyk(44.4%, 58.8%, 0%, 15.3%)
CIE-LABlab(47.10, 42.77, -61.16)
CIE-LCHlch(47.10, 74.63, 304.97°)
OKLaboklab(56.19% 0.0648 -0.1745)
OKLCHoklch(56.19% 0.186 290.4)
XYZxyz(23.7093, 16.0949, 66.8098)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859D8 #B9D859
analogous
#5979D8 #7859D8 #B859D8
triadic
#7859D8 #D87859 #59D878
tetradic
#7859D8 #D85979 #B9D859 #59D8B8
square
#7859D8 #D85979 #B9D859 #59D8B8
split-complementary
#7859D8 #D8B859 #79D859
monochromatic
#3E2394 #532EC5 #7859D8 #A08BE4 #C9BCEF

Accessibility & contrast

On white

4.98
#7859D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7859D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7859D8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859D8#FFFFFF#000000##FFFFFF
##7859D81.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#5B7690
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7859d8;
/* rgb */ color: rgb(120, 89, 216);
/* oklch */ color: oklch(56.2% 0.186 290.4);
Tailwind
colors: {
  custom: {
    50: '#a589e5',
    500: '#7859d8',
    950: '#000000',
  },
}
SCSS
$custom: #7859d8;
$custom-light: #a589e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7859d8",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 216
  },
  "hsl": {
    "h": 254.646,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56193,
    "c": 0.18615,
    "h": 290.4
  },
  "luminance": 0.16096
}

Semantic roles & 50–950 ramp

primary
#7859D8
secondary
#D3DFAE
accent
#E543BD
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7859D8

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

Preview Lab → · Contrast checker → · Palette generator →

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