#7850CE#7850CE

#7850CE is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.186 H 293.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7850CE
RGBrgb(120, 80, 206)
HSLhsl(259, 56%, 56%)
HSVhsv(259, 61%, 81%)
CMYKcmyk(41.7%, 61.2%, 0%, 19.2%)
CIE-LABlab(44.50, 45.07, -59.64)
CIE-LCHlch(44.50, 74.75, 307.08°)
OKLaboklab(54.08% 0.0753 -0.17)
OKLCHoklch(54.08% 0.186 293.9)
XYZxyz(21.7520, 14.1861, 59.9727)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850CE #A6CE50
analogous
#5067CE #7850CE #B750CE
triadic
#7850CE #CE7850 #50CE78
tetradic
#7850CE #CE5067 #A6CE50 #50CEB7
square
#7850CE #CE5067 #A6CE50 #50CEB7
split-complementary
#7850CE #CEB750 #67CE50
monochromatic
#412480 #5931B0 #7850CE #9D80DB #C2B0E9

Accessibility & contrast

On white

5.47
#7850CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7850CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850CE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850CE#FFFFFF#000000##FFFFFF
##7850CE1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#616C87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7850ce;
/* rgb */ color: rgb(120, 80, 206);
/* oklch */ color: oklch(54.1% 0.186 293.9);
Tailwind
colors: {
  custom: {
    50: '#a583de',
    500: '#7850ce',
    950: '#000000',
  },
}
SCSS
$custom: #7850ce;
$custom-light: #a583de;
$custom-dark: #000000;
JSON
{
  "hex": "#7850ce",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 259.048,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54076,
    "c": 0.18598,
    "h": 293.9
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

primary
#7850CE
secondary
#C6D7A3
accent
#E048B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7850CE

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

Preview Lab → · Contrast checker → · Palette generator →

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