#7850DB#7850DB

#7850DB is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.0% C 0.202 H 291.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7850DB
RGBrgb(120, 80, 219)
HSLhsl(257, 66%, 59%)
HSVhsv(257, 63%, 86%)
CMYKcmyk(45.2%, 63.5%, 0%, 14.1%)
CIE-LABlab(45.42, 48.62, -65.59)
CIE-LCHlch(45.42, 81.64, 306.55°)
OKLaboklab(55.04% 0.0743 -0.1875)
OKLCHoklch(55.04% 0.202 291.6)
XYZxyz(23.3970, 14.8441, 68.6365)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850DB #B3DB50
analogous
#506DDB #7850DB #BD50DB
triadic
#7850DB #DB7850 #50DB78
tetradic
#7850DB #DB506D #B3DB50 #50DBBD
square
#7850DB #DB506D #B3DB50 #50DBBD
split-complementary
#7850DB #DBBD50 #6DDB50
monochromatic
#401E92 #5629C5 #7850DB #9F83E5 #C6B6F0

Accessibility & contrast

On white

5.29
#7850DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7850DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850DB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850DB#FFFFFF#000000##FFFFFF
##7850DB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#5A718E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7850db;
/* rgb */ color: rgb(120, 80, 219);
/* oklch */ color: oklch(55.0% 0.202 291.6);
Tailwind
colors: {
  custom: {
    50: '#a683e7',
    500: '#7850db',
    950: '#000000',
  },
}
SCSS
$custom: #7850db;
$custom-light: #a683e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7850db",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 257.266,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55036,
    "c": 0.20174,
    "h": 291.6
  },
  "luminance": 0.14845
}

Semantic roles & 50–950 ramp

primary
#7850DB
secondary
#CFDFA8
accent
#E93FB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7850DB

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

Preview Lab → · Contrast checker → · Palette generator →

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