#7850E4#7850E4

#7850E4 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.212 H 290.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7850E4
RGBrgb(120, 80, 228)
HSLhsl(256, 73%, 60%)
HSVhsv(256, 65%, 89%)
CMYKcmyk(47.4%, 64.9%, 0%, 10.6%)
CIE-LABlab(46.08, 51.10, -69.62)
CIE-LCHlch(46.08, 86.36, 306.28°)
OKLaboklab(55.73% 0.0734 -0.1994)
OKLCHoklch(55.73% 0.212 290.2)
XYZxyz(24.6140, 15.3309, 75.0460)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850E4 #BCE450
analogous
#5072E4 #7850E4 #C250E4
triadic
#7850E4 #E47850 #50E478
tetradic
#7850E4 #E45072 #BCE450 #50E4C2
square
#7850E4 #E45072 #BCE450 #50E4C2
split-complementary
#7850E4 #E4C250 #72E450
monochromatic
#3E19A1 #5221D6 #7850E4 #A185EC #CABAF4

Accessibility & contrast

On white

5.16
#7850E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7850E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850E4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850E4#FFFFFF#000000##FFFFFF
##7850E41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#557493
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7850e4;
/* rgb */ color: rgb(120, 80, 228);
/* oklch */ color: oklch(55.7% 0.212 290.2);
Tailwind
colors: {
  custom: {
    50: '#a783ed',
    500: '#7850e4',
    950: '#000000',
  },
}
SCSS
$custom: #7850e4;
$custom-light: #a783ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7850e4",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 256.216,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55725,
    "c": 0.21248,
    "h": 290.2
  },
  "luminance": 0.15332
}

Semantic roles & 50–950 ramp

primary
#7850E4
secondary
#D5E4AC
accent
#D510A0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7850E4

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

Preview Lab → · Contrast checker → · Palette generator →

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