#7839B7#7839B7

#7839B7 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.2% C 0.190 H 302.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7839B7
RGBrgb(120, 57, 183)
HSLhsl(270, 53%, 47%)
HSVhsv(270, 69%, 72%)
CMYKcmyk(34.4%, 68.9%, 0%, 28.2%)
CIE-LABlab(38.44, 51.15, -56.04)
CIE-LCHlch(38.44, 75.88, 312.39°)
OKLaboklab(49.19% 0.103 -0.1594)
OKLCHoklch(49.19% 0.19 302.9)
XYZxyz(17.7541, 10.3382, 45.8507)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7839B7 #78B739
analogous
#3939B7 #7839B7 #B739B7
triadic
#7839B7 #B77839 #39B778
tetradic
#7839B7 #B73939 #78B739 #39B7B7
square
#7839B7 #B73939 #78B739 #39B7B7
split-complementary
#7839B7 #B7B739 #39B739
monochromatic
#3B1C5A #592A88 #7839B7 #9760CD #B58EDC

Accessibility & contrast

On white

6.85
#7839B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7839B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7839B7
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7839B7#FFFFFF#000000##FFFFFF
##7839B71.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#6B5674
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7839b7;
/* rgb */ color: rgb(120, 57, 183);
/* oklch */ color: oklch(49.2% 0.190 302.9);
Tailwind
colors: {
  custom: {
    50: '#a474cd',
    500: '#7839b7',
    950: '#000000',
  },
}
SCSS
$custom: #7839b7;
$custom-light: #a474cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7839b7",
  "rgb": {
    "r": 120,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 270,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49188,
    "c": 0.18979,
    "h": 302.9
  },
  "luminance": 0.10338
}

Semantic roles & 50–950 ramp

primary
#7839B7
secondary
#A6C785
accent
#DC4C94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7839B7

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

Preview Lab → · Contrast checker → · Palette generator →

#7839B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva