#7850ED#7850ED

#7850ED is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.223 H 288.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7850ED
RGBrgb(120, 80, 237)
HSLhsl(255, 81%, 62%)
HSVhsv(255, 66%, 93%)
CMYKcmyk(49.4%, 66.2%, 0%, 7.1%)
CIE-LABlab(46.77, 53.59, -73.59)
CIE-LCHlch(46.77, 91.03, 306.06°)
OKLaboklab(56.43% 0.0722 -0.2111)
OKLCHoklch(56.43% 0.223 288.9)
XYZxyz(25.8960, 15.8437, 81.7980)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850ED #C5ED50
analogous
#5076ED #7850ED #C750ED
triadic
#7850ED #ED7850 #50ED78
tetradic
#7850ED #ED5076 #C5ED50 #50EDC7
square
#7850ED #ED5076 #C5ED50 #50EDC7
split-complementary
#7850ED #EDC750 #76ED50
monochromatic
#3A12B0 #4D19E7 #7850ED #A387F3 #CEBFF8

Accessibility & contrast

On white

5.04
#7850ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7850ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850ED
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850ED#FFFFFF#000000##FFFFFF
##7850ED1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#4F7798
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7850ed;
/* rgb */ color: rgb(120, 80, 237);
/* oklch */ color: oklch(56.4% 0.223 288.9);
Tailwind
colors: {
  custom: {
    50: '#a884f4',
    500: '#7850ed',
    950: '#000000',
  },
}
SCSS
$custom: #7850ed;
$custom-light: #a884f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7850ed",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 237
  },
  "hsl": {
    "h": 255.287,
    "s": 81.347,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56431,
    "c": 0.22308,
    "h": 288.9
  },
  "luminance": 0.15845
}

Semantic roles & 50–950 ramp

primary
#7850ED
secondary
#DBE9B0
accent
#DE08A7
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7850ED

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

Preview Lab → · Contrast checker → · Palette generator →

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