#7850EA#7850EA

#7850EA is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.220 H 289.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7850EA
RGBrgb(120, 80, 234)
HSLhsl(256, 79%, 62%)
HSVhsv(256, 66%, 92%)
CMYKcmyk(48.7%, 65.8%, 0%, 8.2%)
CIE-LABlab(46.54, 52.76, -72.28)
CIE-LCHlch(46.54, 89.48, 306.13°)
OKLaboklab(56.19% 0.0726 -0.2072)
OKLCHoklch(56.19% 0.22 289.3)
XYZxyz(25.4614, 15.6698, 79.5090)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850EA #C2EA50
analogous
#5075EA #7850EA #C550EA
triadic
#7850EA #EA7850 #50EA78
tetradic
#7850EA #EA5075 #C2EA50 #50EAC5
square
#7850EA #EA5075 #C2EA50 #50EAC5
split-complementary
#7850EA #EAC550 #75EA50
monochromatic
#3C15AB #4F1BE2 #7850EA #A287F1 #CCBDF7

Accessibility & contrast

On white

5.08
#7850EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7850EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850EA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850EA#FFFFFF#000000##FFFFFF
##7850EA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#517696
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7850ea;
/* rgb */ color: rgb(120, 80, 234);
/* oklch */ color: oklch(56.2% 0.220 289.3);
Tailwind
colors: {
  custom: {
    50: '#a884f2',
    500: '#7850ea',
    950: '#000000',
  },
}
SCSS
$custom: #7850ea;
$custom-light: #a884f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7850ea",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 234
  },
  "hsl": {
    "h": 255.584,
    "s": 78.571,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56194,
    "c": 0.21956,
    "h": 289.3
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

primary
#7850EA
secondary
#D9E8AE
accent
#DB0BA5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7850EA

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

Preview Lab → · Contrast checker → · Palette generator →

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