#7859CD#7859CD

#7859CD is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.4% C 0.172 H 292.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7859CD
RGBrgb(120, 89, 205)
HSLhsl(256, 54%, 58%)
HSVhsv(256, 57%, 80%)
CMYKcmyk(41.5%, 56.6%, 0%, 19.6%)
CIE-LABlab(46.37, 39.70, -56.04)
CIE-LCHlch(46.37, 68.68, 305.32°)
OKLaboklab(55.43% 0.0649 -0.1594)
OKLCHoklch(55.43% 0.172 292.2)
XYZxyz(22.3346, 15.5450, 59.5695)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859CD #AECD59
analogous
#5974CD #7859CD #B259CD
triadic
#7859CD #CD7859 #59CD78
tetradic
#7859CD #CD5974 #AECD59 #59CDB2
square
#7859CD #CD5974 #AECD59 #59CDB2
split-complementary
#7859CD #CDB259 #74CD59
monochromatic
#402884 #5736B3 #7859CD #9E88DB #C4B7E9

Accessibility & contrast

On white

5.11
#7859CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7859CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7859CD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859CD#FFFFFF#000000##FFFFFF
##7859CD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1770D1
Deuteranopia (green-blind)
#226CCA
Tritanopia (blue-blind)
#61728A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7859cd;
/* rgb */ color: rgb(120, 89, 205);
/* oklch */ color: oklch(55.4% 0.172 292.2);
Tailwind
colors: {
  custom: {
    50: '#a489dd',
    500: '#7859cd',
    950: '#000000',
  },
}
SCSS
$custom: #7859cd;
$custom-light: #a489dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7859cd",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 256.034,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55427,
    "c": 0.17216,
    "h": 292.2
  },
  "luminance": 0.15546
}

Semantic roles & 50–950 ramp

primary
#7859CD
secondary
#CCD8AA
accent
#DD4BB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7859CD

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

Preview Lab → · Contrast checker → · Palette generator →

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