#7850DD#7850DD

#7850DD is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.2% C 0.204 H 291.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7850DD
RGBrgb(120, 80, 221)
HSLhsl(257, 67%, 59%)
HSVhsv(257, 64%, 87%)
CMYKcmyk(45.7%, 63.8%, 0%, 13.3%)
CIE-LABlab(45.57, 49.17, -66.49)
CIE-LCHlch(45.57, 82.70, 306.48°)
OKLaboklab(55.19% 0.0741 -0.1902)
OKLCHoklch(55.19% 0.204 291.3)
XYZxyz(23.6619, 14.9500, 70.0315)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850DD #B5DD50
analogous
#506FDD #7850DD #BE50DD
triadic
#7850DD #DD7850 #50DD78
tetradic
#7850DD #DD506F #B5DD50 #50DDBE
square
#7850DD #DD506F #B5DD50 #50DDBE
split-complementary
#7850DD #DDBE50 #6FDD50
monochromatic
#3F1D96 #5527C9 #7850DD #A083E7 #C7B6F1

Accessibility & contrast

On white

5.26
#7850DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7850DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850DD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850DD#FFFFFF#000000##FFFFFF
##7850DD1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#59718F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7850dd;
/* rgb */ color: rgb(120, 80, 221);
/* oklch */ color: oklch(55.2% 0.204 291.3);
Tailwind
colors: {
  custom: {
    50: '#a683e8',
    500: '#7850dd',
    950: '#000000',
  },
}
SCSS
$custom: #7850dd;
$custom-light: #a683e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7850dd",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 221
  },
  "hsl": {
    "h": 257.021,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55187,
    "c": 0.20414,
    "h": 291.3
  },
  "luminance": 0.14951
}

Semantic roles & 50–950 ramp

primary
#7850DD
secondary
#D0E0A9
accent
#EA3DB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7850DD

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

Preview Lab → · Contrast checker → · Palette generator →

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