#7859CC#7859CC

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

Color values

HEX#7859CC
RGBrgb(120, 89, 204)
HSLhsl(256, 53%, 57%)
HSVhsv(256, 56%, 80%)
CMYKcmyk(41.2%, 56.4%, 0%, 20%)
CIE-LABlab(46.31, 39.42, -55.57)
CIE-LCHlch(46.31, 68.13, 305.35°)
OKLaboklab(55.36% 0.0649 -0.1581)
OKLCHoklch(55.36% 0.171 292.3)
XYZxyz(22.2142, 15.4968, 58.9358)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859CC #ADCC59
analogous
#5974CC #7859CC #B159CC
triadic
#7859CC #CC7859 #59CC78
tetradic
#7859CC #CC5974 #ADCC59 #59CCB1
square
#7859CC #CC5974 #ADCC59 #59CCB1
split-complementary
#7859CC #CCB159 #74CC59
monochromatic
#402883 #5836B1 #7859CC #9E88DA #C4B7E9

Accessibility & contrast

On white

5.12
#7859CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7859CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7859CC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859CC#FFFFFF#000000##FFFFFF
##7859CC1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6FD0
Deuteranopia (green-blind)
#246BC9
Tritanopia (blue-blind)
#61728A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7859cc;
/* rgb */ color: rgb(120, 89, 204);
/* oklch */ color: oklch(55.4% 0.171 292.3);
Tailwind
colors: {
  custom: {
    50: '#a489dc',
    500: '#7859cc',
    950: '#000000',
  },
}
SCSS
$custom: #7859cc;
$custom-light: #a489dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7859cc",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 256.174,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55359,
    "c": 0.17089,
    "h": 292.3
  },
  "luminance": 0.15497
}

Semantic roles & 50–950 ramp

primary
#7859CC
secondary
#CBD8A9
accent
#DC4BB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7859CC

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

Preview Lab → · Contrast checker → · Palette generator →

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