#7860DF#7860DF

#7860DF is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.8% C 0.186 H 287.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7860DF
RGBrgb(120, 96, 223)
HSLhsl(251, 66%, 63%)
HSVhsv(251, 57%, 87%)
CMYKcmyk(46.2%, 57%, 0%, 12.5%)
CIE-LABlab(49.11, 40.74, -61.88)
CIE-LCHlch(49.11, 74.09, 303.36°)
OKLaboklab(57.82% 0.0569 -0.1766)
OKLCHoklch(57.82% 0.186 287.8)
XYZxyz(25.2441, 17.6855, 71.8813)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860DF #C7DF60
analogous
#6087DF #7860DF #B860DF
triadic
#7860DF #DF7860 #60DF78
tetradic
#7860DF #DF6087 #C7DF60 #60DFB8
square
#7860DF #DF6087 #C7DF60 #60DFB8
split-complementary
#7860DF #DFB860 #87DF60
monochromatic
#3A21A4 #4D2DD5 #7860DF #A393E9 #CFC6F4

Accessibility & contrast

On white

4.63
#7860DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7860DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7860DF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860DF#FFFFFF#000000##FFFFFF
##7860DF1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0278E3
Deuteranopia (green-blind)
#0571DC
Tritanopia (blue-blind)
#577C96
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7860df;
/* rgb */ color: rgb(120, 96, 223);
/* oklch */ color: oklch(57.8% 0.186 287.8);
Tailwind
colors: {
  custom: {
    50: '#a68eea',
    500: '#7860df',
    950: '#000000',
  },
}
SCSS
$custom: #7860df;
$custom-light: #a68eea;
$custom-dark: #000000;
JSON
{
  "hex": "#7860df",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 223
  },
  "hsl": {
    "h": 251.339,
    "s": 66.492,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57823,
    "c": 0.18556,
    "h": 287.8
  },
  "luminance": 0.17687
}

Semantic roles & 50–950 ramp

primary
#7860DF
secondary
#DCE4B6
accent
#CE17AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7860DF

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

Preview Lab → · Contrast checker → · Palette generator →

#7860DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva