#7860CD#7860CD

#7860CD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.6% C 0.162 H 290.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7860CD
RGBrgb(120, 96, 205)
HSLhsl(253, 52%, 59%)
HSVhsv(253, 53%, 80%)
CMYKcmyk(41.5%, 53.2%, 0%, 19.6%)
CIE-LABlab(47.96, 35.62, -53.48)
CIE-LCHlch(47.96, 64.26, 303.67°)
OKLaboklab(56.61% 0.0565 -0.1519)
OKLCHoklch(56.61% 0.162 290.4)
XYZxyz(22.9450, 16.7659, 59.7730)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860CD #B5CD60
analogous
#607FCD #7860CD #AF60CD
triadic
#7860CD #CD7860 #60CD78
tetradic
#7860CD #CD607F #B5CD60 #60CDAF
square
#7860CD #CD607F #B5CD60 #60CDAF
split-complementary
#7860CD #CDAF60 #7FCD60
monochromatic
#3F2B88 #5539B6 #7860CD #A08FDC #C7BDEA

Accessibility & contrast

On white

4.82
#7860CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7860CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7860CD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860CD#FFFFFF#000000##FFFFFF
##7860CD1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#316FCB
Tritanopia (blue-blind)
#60778D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7860cd;
/* rgb */ color: rgb(120, 96, 205);
/* oklch */ color: oklch(56.6% 0.162 290.4);
Tailwind
colors: {
  custom: {
    50: '#a48edd',
    500: '#7860cd',
    950: '#000000',
  },
}
SCSS
$custom: #7860cd;
$custom-light: #a48edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7860cd",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 253.211,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56605,
    "c": 0.16209,
    "h": 290.4
  },
  "luminance": 0.16767
}

Semantic roles & 50–950 ramp

primary
#7860CD
secondary
#D0DAAF
accent
#DC4CBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7860CD

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

Preview Lab → · Contrast checker → · Palette generator →

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