#7850E1#7850E1

#7850E1 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.5% C 0.209 H 290.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7850E1
RGBrgb(120, 80, 225)
HSLhsl(257, 71%, 60%)
HSVhsv(257, 64%, 88%)
CMYKcmyk(46.7%, 64.4%, 0%, 11.8%)
CIE-LABlab(45.86, 50.27, -68.29)
CIE-LCHlch(45.86, 84.80, 306.36°)
OKLaboklab(55.49% 0.0737 -0.1955)
OKLCHoklch(55.49% 0.209 290.7)
XYZxyz(24.2012, 15.1657, 72.8717)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850E1 #B9E150
analogous
#5070E1 #7850E1 #C150E1
triadic
#7850E1 #E17850 #50E178
tetradic
#7850E1 #E15070 #B9E150 #50E1C1
square
#7850E1 #E15070 #B9E150 #50E1C1
split-complementary
#7850E1 #E1C150 #70E150
monochromatic
#3E1B9C #5324D0 #7850E1 #A084EA #C9B8F3

Accessibility & contrast

On white

5.21
#7850E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7850E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850E1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850E1#FFFFFF#000000##FFFFFF
##7850E11.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#577391
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7850e1;
/* rgb */ color: rgb(120, 80, 225);
/* oklch */ color: oklch(55.5% 0.209 290.7);
Tailwind
colors: {
  custom: {
    50: '#a783eb',
    500: '#7850e1',
    950: '#000000',
  },
}
SCSS
$custom: #7850e1;
$custom-light: #a783eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7850e1",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 256.552,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55493,
    "c": 0.20892,
    "h": 290.7
  },
  "luminance": 0.15167
}

Semantic roles & 50–950 ramp

primary
#7850E1
secondary
#D3E2AA
accent
#ED3ABC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7850E1

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

Preview Lab → · Contrast checker → · Palette generator →

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