#7860CC#7860CC

#7860CC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.5% C 0.161 H 290.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7860CC
RGBrgb(120, 96, 204)
HSLhsl(253, 51%, 59%)
HSVhsv(253, 53%, 80%)
CMYKcmyk(41.2%, 52.9%, 0%, 20%)
CIE-LABlab(47.90, 35.34, -53.00)
CIE-LCHlch(47.90, 63.71, 303.70°)
OKLaboklab(56.54% 0.0565 -0.1505)
OKLCHoklch(56.54% 0.161 290.6)
XYZxyz(22.8247, 16.7177, 59.1393)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860CC #B4CC60
analogous
#607ECC #7860CC #AE60CC
triadic
#7860CC #CC7860 #60CC78
tetradic
#7860CC #CC607E #B4CC60 #60CCAE
square
#7860CC #CC607E #B4CC60 #60CCAE
split-complementary
#7860CC #CCAE60 #7ECC60
monochromatic
#3F2B86 #553AB5 #7860CC #9F8EDB #C7BDEA

Accessibility & contrast

On white

4.83
#7860CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7860CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7860CC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860CC#FFFFFF#000000##FFFFFF
##7860CC1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D0
Deuteranopia (green-blind)
#326FCA
Tritanopia (blue-blind)
#61778D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7860cc;
/* rgb */ color: rgb(120, 96, 204);
/* oklch */ color: oklch(56.5% 0.161 290.6);
Tailwind
colors: {
  custom: {
    50: '#a48edc',
    500: '#7860cc',
    950: '#000000',
  },
}
SCSS
$custom: #7860cc;
$custom-light: #a48edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7860cc",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 204
  },
  "hsl": {
    "h": 253.333,
    "s": 51.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5654,
    "c": 0.16076,
    "h": 290.6
  },
  "luminance": 0.16718
}

Semantic roles & 50–950 ramp

primary
#7860CC
secondary
#D0D9AF
accent
#DB4DBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7860CC

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

Preview Lab → · Contrast checker → · Palette generator →

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