#7861DF#7861DF

#7861DF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.0% C 0.184 H 287.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7861DF
RGBrgb(120, 97, 223)
HSLhsl(251, 66%, 63%)
HSVhsv(251, 57%, 87%)
CMYKcmyk(46.2%, 56.5%, 0%, 12.5%)
CIE-LABlab(49.34, 40.16, -61.52)
CIE-LCHlch(49.34, 73.47, 303.14°)
OKLaboklab(57.99% 0.0558 -0.1756)
OKLCHoklch(57.99% 0.184 287.6)
XYZxyz(25.3359, 17.8691, 71.9119)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7861DF #C8DF61
analogous
#6189DF #7861DF #B761DF
triadic
#7861DF #DF7861 #61DF78
tetradic
#7861DF #DF6189 #C8DF61 #61DFB7
square
#7861DF #DF6189 #C8DF61 #61DFB7
split-complementary
#7861DF #DFB761 #89DF61
monochromatic
#3921A4 #4D2ED5 #7861DF #A394E9 #CFC7F4

Accessibility & contrast

On white

4.59
#7861DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7861DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7861DF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7861DF#FFFFFF#000000##FFFFFF
##7861DF1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B78E3
Deuteranopia (green-blind)
#0C72DC
Tritanopia (blue-blind)
#577D97
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7861df;
/* rgb */ color: rgb(120, 97, 223);
/* oklch */ color: oklch(58.0% 0.184 287.6);
Tailwind
colors: {
  custom: {
    50: '#a68eea',
    500: '#7861df',
    950: '#000000',
  },
}
SCSS
$custom: #7861df;
$custom-light: #a68eea;
$custom-dark: #000000;
JSON
{
  "hex": "#7861df",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 250.952,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57989,
    "c": 0.1842,
    "h": 287.6
  },
  "luminance": 0.1787
}

Semantic roles & 50–950 ramp

primary
#7861DF
secondary
#DCE5B7
accent
#CE17AD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7861DF

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

Preview Lab → · Contrast checker → · Palette generator →

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