#7850CF#7850CF

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

Color values

HEX#7850CF
RGBrgb(120, 80, 207)
HSLhsl(259, 57%, 56%)
HSVhsv(259, 61%, 81%)
CMYKcmyk(42%, 61.4%, 0%, 18.8%)
CIE-LABlab(44.57, 45.34, -60.10)
CIE-LCHlch(44.57, 75.28, 307.03°)
OKLaboklab(54.15% 0.0753 -0.1714)
OKLCHoklch(54.15% 0.187 293.7)
XYZxyz(21.8738, 14.2348, 60.6145)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850CF #A7CF50
analogous
#5068CF #7850CF #B850CF
triadic
#7850CF #CF7850 #50CF78
tetradic
#7850CF #CF5068 #A7CF50 #50CFB8
square
#7850CF #CF5068 #A7CF50 #50CFB8
split-complementary
#7850CF #CFB850 #68CF50
monochromatic
#412381 #5931B1 #7850CF #9D80DC #C2B0E9

Accessibility & contrast

On white

5.46
#7850CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7850CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850CF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850CF#FFFFFF#000000##FFFFFF
##7850CF1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#606D88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7850cf;
/* rgb */ color: rgb(120, 80, 207);
/* oklch */ color: oklch(54.1% 0.187 293.7);
Tailwind
colors: {
  custom: {
    50: '#a583de',
    500: '#7850cf',
    950: '#000000',
  },
}
SCSS
$custom: #7850cf;
$custom-light: #a583de;
$custom-dark: #000000;
JSON
{
  "hex": "#7850cf",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 258.898,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54148,
    "c": 0.1872,
    "h": 293.7
  },
  "luminance": 0.14235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7850CF

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

Preview Lab → · Contrast checker → · Palette generator →

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