#7850DE#7850DE

#7850DE is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.205 H 291.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7850DE
RGBrgb(120, 80, 222)
HSLhsl(257, 68%, 59%)
HSVhsv(257, 64%, 87%)
CMYKcmyk(45.9%, 64%, 0%, 12.9%)
CIE-LABlab(45.64, 49.44, -66.94)
CIE-LCHlch(45.64, 83.22, 306.45°)
OKLaboklab(55.26% 0.074 -0.1915)
OKLCHoklch(55.26% 0.205 291.1)
XYZxyz(23.7955, 15.0035, 70.7353)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850DE #B6DE50
analogous
#506FDE #7850DE #BF50DE
triadic
#7850DE #DE7850 #50DE78
tetradic
#7850DE #DE506F #B6DE50 #50DEBF
square
#7850DE #DE506F #B6DE50 #50DEBF
split-complementary
#7850DE #DEBF50 #6FDE50
monochromatic
#3F1C97 #5526CB #7850DE #A083E8 #C7B7F1

Accessibility & contrast

On white

5.25
#7850DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7850DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850DE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850DE#FFFFFF#000000##FFFFFF
##7850DE1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#597290
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7850de;
/* rgb */ color: rgb(120, 80, 222);
/* oklch */ color: oklch(55.3% 0.205 291.1);
Tailwind
colors: {
  custom: {
    50: '#a683e9',
    500: '#7850de',
    950: '#000000',
  },
}
SCSS
$custom: #7850de;
$custom-light: #a683e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7850de",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 222
  },
  "hsl": {
    "h": 256.901,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55263,
    "c": 0.20533,
    "h": 291.1
  },
  "luminance": 0.15004
}

Semantic roles & 50–950 ramp

primary
#7850DE
secondary
#D1E1A9
accent
#EB3DBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7850DE

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

Preview Lab → · Contrast checker → · Palette generator →

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