#7859CB#7859CB

#7859CB is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.3% C 0.170 H 292.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7859CB
RGBrgb(120, 89, 203)
HSLhsl(256, 52%, 57%)
HSVhsv(256, 56%, 80%)
CMYKcmyk(40.9%, 56.2%, 0%, 20.4%)
CIE-LABlab(46.24, 39.15, -55.09)
CIE-LCHlch(46.24, 67.59, 305.39°)
OKLaboklab(55.29% 0.0649 -0.1567)
OKLCHoklch(55.29% 0.17 292.5)
XYZxyz(22.0947, 15.4490, 58.3062)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859CB #ACCB59
analogous
#5973CB #7859CB #B159CB
triadic
#7859CB #CB7859 #59CB78
tetradic
#7859CB #CB5973 #ACCB59 #59CBB1
square
#7859CB #CB5973 #ACCB59 #59CBB1
split-complementary
#7859CB #CBB159 #73CB59
monochromatic
#412881 #5837B0 #7859CB #9E88DA #C4B6E8

Accessibility & contrast

On white

5.13
#7859CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7859CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7859CB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859CB#FFFFFF#000000##FFFFFF
##7859CB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#256BC8
Tritanopia (blue-blind)
#627189
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7859cb;
/* rgb */ color: rgb(120, 89, 203);
/* oklch */ color: oklch(55.3% 0.170 292.5);
Tailwind
colors: {
  custom: {
    50: '#a489db',
    500: '#7859cb',
    950: '#000000',
  },
}
SCSS
$custom: #7859cb;
$custom-light: #a489db;
$custom-dark: #000000;
JSON
{
  "hex": "#7859cb",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 256.316,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55291,
    "c": 0.1696,
    "h": 292.5
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#7859CB
secondary
#CAD7A9
accent
#DC4CB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7859CB

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

Preview Lab → · Contrast checker → · Palette generator →

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