#7850E5#7850E5

#7850E5 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.214 H 290.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7850E5
RGBrgb(120, 80, 229)
HSLhsl(256, 74%, 61%)
HSVhsv(256, 65%, 90%)
CMYKcmyk(47.6%, 65.1%, 0%, 10.2%)
CIE-LABlab(46.16, 51.37, -70.07)
CIE-LCHlch(46.16, 86.88, 306.25°)
OKLaboklab(55.8% 0.0733 -0.2007)
OKLCHoklch(55.8% 0.214 290)
XYZxyz(24.7532, 15.3866, 75.7792)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850E5 #BDE550
analogous
#5073E5 #7850E5 #C250E5
triadic
#7850E5 #E57850 #50E578
tetradic
#7850E5 #E55073 #BDE550 #50E5C2
square
#7850E5 #E55073 #BDE550 #50E5C2
split-complementary
#7850E5 #E5C250 #73E550
monochromatic
#3D18A2 #5120D8 #7850E5 #A185ED #CABBF5

Accessibility & contrast

On white

5.15
#7850E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7850E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850E5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850E5#FFFFFF#000000##FFFFFF
##7850E51.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#547494
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7850e5;
/* rgb */ color: rgb(120, 80, 229);
/* oklch */ color: oklch(55.8% 0.214 290.0);
Tailwind
colors: {
  custom: {
    50: '#a783ee',
    500: '#7850e5',
    950: '#000000',
  },
}
SCSS
$custom: #7850e5;
$custom-light: #a783ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7850e5",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 256.107,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55802,
    "c": 0.21366,
    "h": 290
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

primary
#7850E5
secondary
#D6E5AC
accent
#D60FA1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7850E5

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

Preview Lab → · Contrast checker → · Palette generator →

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