#7850EF#7850EF

#7850EF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.225 H 288.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7850EF
RGBrgb(120, 80, 239)
HSLhsl(255, 83%, 63%)
HSVhsv(255, 67%, 94%)
CMYKcmyk(49.8%, 66.5%, 0%, 6.3%)
CIE-LABlab(46.92, 54.14, -74.46)
CIE-LCHlch(46.92, 92.07, 306.02°)
OKLaboklab(56.59% 0.0719 -0.2136)
OKLCHoklch(56.59% 0.225 288.6)
XYZxyz(26.1898, 15.9612, 83.3455)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850EF #C7EF50
analogous
#5078EF #7850EF #C750EF
triadic
#7850EF #EF7850 #50EF78
tetradic
#7850EF #EF5078 #C7EF50 #50EFC7
square
#7850EF #EF5078 #C7EF50 #50EFC7
split-complementary
#7850EF #EFC750 #78EF50
monochromatic
#3A10B4 #4D18EA #7850EF #A388F4 #CFC0F9

Accessibility & contrast

On white

5.01
#7850EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7850EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850EF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850EF#FFFFFF#000000##FFFFFF
##7850EF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#4E7899
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7850ef;
/* rgb */ color: rgb(120, 80, 239);
/* oklch */ color: oklch(56.6% 0.225 288.6);
Tailwind
colors: {
  custom: {
    50: '#a884f5',
    500: '#7850ef',
    950: '#000000',
  },
}
SCSS
$custom: #7850ef;
$custom-light: #a884f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7850ef",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 239
  },
  "hsl": {
    "h": 255.094,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.22542,
    "h": 288.6
  },
  "luminance": 0.15962
}

Semantic roles & 50–950 ramp

primary
#7850EF
secondary
#DCEAB0
accent
#E006A9
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7850EF

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

Preview Lab → · Contrast checker → · Palette generator →

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