#7850DF#7850DF

#7850DF is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.3% C 0.207 H 291.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7850DF
RGBrgb(120, 80, 223)
HSLhsl(257, 69%, 59%)
HSVhsv(257, 64%, 87%)
CMYKcmyk(46.2%, 64.1%, 0%, 12.5%)
CIE-LABlab(45.71, 49.72, -67.39)
CIE-LCHlch(45.71, 83.75, 306.42°)
OKLaboklab(55.34% 0.0739 -0.1928)
OKLCHoklch(55.34% 0.207 291)
XYZxyz(23.9299, 15.0572, 71.4432)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850DF #B7DF50
analogous
#5070DF #7850DF #BF50DF
triadic
#7850DF #DF7850 #50DF78
tetradic
#7850DF #DF5070 #B7DF50 #50DFBF
square
#7850DF #DF5070 #B7DF50 #50DFBF
split-complementary
#7850DF #DFBF50 #70DF50
monochromatic
#3F1C99 #5425CC #7850DF #A084E8 #C8B7F2

Accessibility & contrast

On white

5.23
#7850DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7850DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850DF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850DF#FFFFFF#000000##FFFFFF
##7850DF1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#587290
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7850df;
/* rgb */ color: rgb(120, 80, 223);
/* oklch */ color: oklch(55.3% 0.207 291.0);
Tailwind
colors: {
  custom: {
    50: '#a783ea',
    500: '#7850df',
    950: '#000000',
  },
}
SCSS
$custom: #7850df;
$custom-light: #a783ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7850df",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 256.783,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5534,
    "c": 0.20654,
    "h": 291
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#7850DF
secondary
#D2E1AA
accent
#EC3CBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7850DF

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

Preview Lab → · Contrast checker → · Palette generator →

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