#7859DB#7859DB

#7859DB is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.190 H 289.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7859DB
RGBrgb(120, 89, 219)
HSLhsl(254, 64%, 60%)
HSVhsv(254, 59%, 86%)
CMYKcmyk(45.2%, 59.4%, 0%, 14.1%)
CIE-LABlab(47.30, 43.61, -62.54)
CIE-LCHlch(47.30, 76.25, 304.89°)
OKLaboklab(56.41% 0.0647 -0.1786)
OKLCHoklch(56.41% 0.19 289.9)
XYZxyz(24.1007, 16.2514, 68.8711)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859DB #BCDB59
analogous
#597BDB #7859DB #B959DB
triadic
#7859DB #DB7859 #59DB78
tetradic
#7859DB #DB597B #BCDB59 #59DBB9
square
#7859DB #DB597B #BCDB59 #59DBB9
split-complementary
#7859DB #DBB959 #7BDB59
monochromatic
#3E2199 #522CCB #7859DB #A18BE6 #CABEF1

Accessibility & contrast

On white

4.94
#7859DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7859DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7859DB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859DB#FFFFFF#000000##FFFFFF
##7859DB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#5A7791
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7859db;
/* rgb */ color: rgb(120, 89, 219);
/* oklch */ color: oklch(56.4% 0.190 289.9);
Tailwind
colors: {
  custom: {
    50: '#a689e7',
    500: '#7859db',
    950: '#000000',
  },
}
SCSS
$custom: #7859db;
$custom-light: #a689e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7859db",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 254.308,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56407,
    "c": 0.18993,
    "h": 289.9
  },
  "luminance": 0.16252
}

Semantic roles & 50–950 ramp

primary
#7859DB
secondary
#D5E1AF
accent
#CC19A2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7859DB

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

Preview Lab → · Contrast checker → · Palette generator →

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