#7861DD#7861DD

#7861DD is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.9% C 0.182 H 287.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7861DD
RGBrgb(120, 97, 221)
HSLhsl(251, 65%, 62%)
HSVhsv(251, 56%, 87%)
CMYKcmyk(45.7%, 56.1%, 0%, 13.3%)
CIE-LABlab(49.21, 39.59, -60.60)
CIE-LCHlch(49.21, 72.38, 303.16°)
OKLaboklab(57.85% 0.0557 -0.1728)
OKLCHoklch(57.85% 0.182 287.9)
XYZxyz(25.0678, 17.7619, 70.5002)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7861DD #C6DD61
analogous
#6188DD #7861DD #B661DD
triadic
#7861DD #DD7861 #61DD78
tetradic
#7861DD #DD6188 #C6DD61 #61DDB6
square
#7861DD #DD6188 #C6DD61 #61DDB6
split-complementary
#7861DD #DDB661 #88DD61
monochromatic
#3A23A1 #4D2FD2 #7861DD #A393E8 #CEC6F3

Accessibility & contrast

On white

4.61
#7861DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7861DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7861DD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7861DD#FFFFFF#000000##FFFFFF
##7861DD1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1378E1
Deuteranopia (green-blind)
#1472DA
Tritanopia (blue-blind)
#587C96
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7861dd;
/* rgb */ color: rgb(120, 97, 221);
/* oklch */ color: oklch(57.9% 0.182 287.9);
Tailwind
colors: {
  custom: {
    50: '#a58ee8',
    500: '#7861dd',
    950: '#000000',
  },
}
SCSS
$custom: #7861dd;
$custom-light: #a58ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#7861dd",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 221
  },
  "hsl": {
    "h": 251.129,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.18162,
    "h": 287.9
  },
  "luminance": 0.17763
}

Semantic roles & 50–950 ramp

primary
#7861DD
secondary
#DBE4B6
accent
#CC19AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7861DD

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

Preview Lab → · Contrast checker → · Palette generator →

#7861DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva