#7850E7#7850E7

#7850E7 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.216 H 289.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7850E7
RGBrgb(120, 80, 231)
HSLhsl(256, 76%, 61%)
HSVhsv(256, 65%, 91%)
CMYKcmyk(48.1%, 65.4%, 0%, 9.4%)
CIE-LABlab(46.31, 51.93, -70.95)
CIE-LCHlch(46.31, 87.93, 306.20°)
OKLaboklab(55.96% 0.073 -0.2033)
OKLCHoklch(55.96% 0.216 289.8)
XYZxyz(25.0341, 15.4989, 77.2583)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850E7 #BFE750
analogous
#5073E7 #7850E7 #C350E7
triadic
#7850E7 #E77850 #50E778
tetradic
#7850E7 #E75073 #BFE750 #50E7C3
square
#7850E7 #E75073 #BFE750 #50E7C3
split-complementary
#7850E7 #E7C350 #73E750
monochromatic
#3D17A6 #501EDC #7850E7 #A286EE #CBBCF6

Accessibility & contrast

On white

5.12
#7850E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7850E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850E7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850E7#FFFFFF#000000##FFFFFF
##7850E71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#537595
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7850e7;
/* rgb */ color: rgb(120, 80, 231);
/* oklch */ color: oklch(56.0% 0.216 289.8);
Tailwind
colors: {
  custom: {
    50: '#a883f0',
    500: '#7850e7',
    950: '#000000',
  },
}
SCSS
$custom: #7850e7;
$custom-light: #a883f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7850e7",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 255.894,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.21603,
    "h": 289.8
  },
  "luminance": 0.155
}

Semantic roles & 50–950 ramp

primary
#7850E7
secondary
#D7E6AD
accent
#D80DA2
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7850E7

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

Preview Lab → · Contrast checker → · Palette generator →

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