#7861CD#7861CD

#7861CD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.8% C 0.161 H 290.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7861CD
RGBrgb(120, 97, 205)
HSLhsl(253, 52%, 59%)
HSVhsv(253, 53%, 80%)
CMYKcmyk(41.5%, 52.7%, 0%, 19.6%)
CIE-LABlab(48.20, 35.04, -53.11)
CIE-LCHlch(48.20, 63.62, 303.41°)
OKLaboklab(56.78% 0.0553 -0.1508)
OKLCHoklch(56.78% 0.161 290.1)
XYZxyz(23.0368, 16.9495, 59.8036)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7861CD #B6CD61
analogous
#6180CD #7861CD #AE61CD
triadic
#7861CD #CD7861 #61CD78
tetradic
#7861CD #CD6180 #B6CD61 #61CDAE
square
#7861CD #CD6180 #B6CD61 #61CDAE
split-complementary
#7861CD #CDAE61 #80CD61
monochromatic
#3F2B88 #553AB7 #7861CD #A08FDC #C7BEEA

Accessibility & contrast

On white

4.78
#7861CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7861CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7861CD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7861CD#FFFFFF#000000##FFFFFF
##7861CD1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3074D1
Deuteranopia (green-blind)
#3370CB
Tritanopia (blue-blind)
#60788E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7861cd;
/* rgb */ color: rgb(120, 97, 205);
/* oklch */ color: oklch(56.8% 0.161 290.1);
Tailwind
colors: {
  custom: {
    50: '#a48edd',
    500: '#7861cd',
    950: '#000000',
  },
}
SCSS
$custom: #7861cd;
$custom-light: #a48edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7861cd",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 252.778,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56778,
    "c": 0.16063,
    "h": 290.1
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

primary
#7861CD
secondary
#D1DAB0
accent
#DB4CBD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7861CD

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

Preview Lab → · Contrast checker → · Palette generator →

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