#7850EB#7850EB

#7850EB is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.221 H 289.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7850EB
RGBrgb(120, 80, 235)
HSLhsl(255, 79%, 62%)
HSVhsv(255, 66%, 92%)
CMYKcmyk(48.9%, 66%, 0%, 7.8%)
CIE-LABlab(46.61, 53.03, -72.72)
CIE-LCHlch(46.61, 90.00, 306.10°)
OKLaboklab(56.27% 0.0725 -0.2085)
OKLCHoklch(56.27% 0.221 289.2)
XYZxyz(25.6055, 15.7275, 80.2677)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850EB #C3EB50
analogous
#5076EB #7850EB #C650EB
triadic
#7850EB #EB7850 #50EB78
tetradic
#7850EB #EB5076 #C3EB50 #50EBC6
square
#7850EB #EB5076 #C3EB50 #50EBC6
split-complementary
#7850EB #EBC650 #76EB50
monochromatic
#3B14AD #4E1AE4 #7850EB #A287F1 #CDBEF8

Accessibility & contrast

On white

5.07
#7850EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7850EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850EB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850EB#FFFFFF#000000##FFFFFF
##7850EB1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#507697
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7850eb;
/* rgb */ color: rgb(120, 80, 235);
/* oklch */ color: oklch(56.3% 0.221 289.2);
Tailwind
colors: {
  custom: {
    50: '#a884f2',
    500: '#7850eb',
    950: '#000000',
  },
}
SCSS
$custom: #7850eb;
$custom-light: #a884f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7850eb",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 255.484,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56273,
    "c": 0.22073,
    "h": 289.2
  },
  "luminance": 0.15729
}

Semantic roles & 50–950 ramp

primary
#7850EB
secondary
#D9E8AF
accent
#DC0AA6
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7850EB

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

Preview Lab → · Contrast checker → · Palette generator →

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