#7859DA#7859DA

#7859DA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.3% C 0.189 H 290.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7859DA
RGBrgb(120, 89, 218)
HSLhsl(254, 64%, 60%)
HSVhsv(254, 59%, 85%)
CMYKcmyk(45%, 59.2%, 0%, 14.5%)
CIE-LABlab(47.23, 43.33, -62.08)
CIE-LCHlch(47.23, 75.71, 304.92°)
OKLaboklab(56.34% 0.0647 -0.1772)
OKLCHoklch(56.34% 0.189 290.1)
XYZxyz(23.9694, 16.1989, 68.1798)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859DA #BBDA59
analogous
#597ADA #7859DA #B959DA
triadic
#7859DA #DA7859 #59DA78
tetradic
#7859DA #DA597A #BBDA59 #59DAB9
square
#7859DA #DA597A #BBDA59 #59DAB9
split-complementary
#7859DA #DAB959 #7ADA59
monochromatic
#3E2297 #522DC9 #7859DA #A18BE5 #C9BDF0

Accessibility & contrast

On white

4.95
#7859DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7859DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7859DA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859DA#FFFFFF#000000##FFFFFF
##7859DA1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#5A7691
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7859da;
/* rgb */ color: rgb(120, 89, 218);
/* oklch */ color: oklch(56.3% 0.189 290.1);
Tailwind
colors: {
  custom: {
    50: '#a589e6',
    500: '#7859da',
    950: '#000000',
  },
}
SCSS
$custom: #7859da;
$custom-light: #a589e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7859da",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 218
  },
  "hsl": {
    "h": 254.419,
    "s": 63.547,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56336,
    "c": 0.18867,
    "h": 290.1
  },
  "luminance": 0.162
}

Semantic roles & 50–950 ramp

primary
#7859DA
secondary
#D4E0AF
accent
#CB1AA1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7859DA

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

Preview Lab → · Contrast checker → · Palette generator →

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