#7850DC#7850DC

#7850DC is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.1% C 0.203 H 291.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7850DC
RGBrgb(120, 80, 220)
HSLhsl(257, 67%, 59%)
HSVhsv(257, 64%, 86%)
CMYKcmyk(45.5%, 63.6%, 0%, 13.7%)
CIE-LABlab(45.49, 48.89, -66.04)
CIE-LCHlch(45.49, 82.17, 306.51°)
OKLaboklab(55.11% 0.0742 -0.1889)
OKLCHoklch(55.11% 0.203 291.5)
XYZxyz(23.5291, 14.8969, 69.3319)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850DC #B4DC50
analogous
#506EDC #7850DC #BE50DC
triadic
#7850DC #DC7850 #50DC78
tetradic
#7850DC #DC506E #B4DC50 #50DCBE
square
#7850DC #DC506E #B4DC50 #50DCBE
split-complementary
#7850DC #DCBE50 #6EDC50
monochromatic
#3F1E94 #5528C7 #7850DC #9F83E6 #C7B6F0

Accessibility & contrast

On white

5.28
#7850DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7850DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850DC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850DC#FFFFFF#000000##FFFFFF
##7850DC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#5A718F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7850dc;
/* rgb */ color: rgb(120, 80, 220);
/* oklch */ color: oklch(55.1% 0.203 291.5);
Tailwind
colors: {
  custom: {
    50: '#a683e8',
    500: '#7850dc',
    950: '#000000',
  },
}
SCSS
$custom: #7850dc;
$custom-light: #a683e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7850dc",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 257.143,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55112,
    "c": 0.20294,
    "h": 291.5
  },
  "luminance": 0.14898
}

Semantic roles & 50–950 ramp

primary
#7850DC
secondary
#D0DFA8
accent
#EA3EB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7850DC

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

Preview Lab → · Contrast checker → · Palette generator →

#7850DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva