#7839BC#7839BC

#7839BC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.6% C 0.195 H 301.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7839BC
RGBrgb(120, 57, 188)
HSLhsl(269, 53%, 48%)
HSVhsv(269, 70%, 74%)
CMYKcmyk(36.2%, 69.7%, 0%, 26.3%)
CIE-LABlab(38.81, 52.37, -58.38)
CIE-LCHlch(38.81, 78.43, 311.89°)
OKLaboklab(49.57% 0.1022 -0.1663)
OKLCHoklch(49.57% 0.195 301.6)
XYZxyz(18.2838, 10.5501, 48.6403)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7839BC #7DBC39
analogous
#393CBC #7839BC #B939BC
triadic
#7839BC #BC7839 #39BC78
tetradic
#7839BC #BC393C #7DBC39 #39BCB9
square
#7839BC #BC393C #7DBC39 #39BCB9
split-complementary
#7839BC #BCB939 #3CBC39
monochromatic
#3C1D5E #5A2B8D #7839BC #9763D0 #B692DE

Accessibility & contrast

On white

6.75
#7839BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7839BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7839BC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7839BC#FFFFFF#000000##FFFFFF
##7839BC1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#6A5876
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7839bc;
/* rgb */ color: rgb(120, 57, 188);
/* oklch */ color: oklch(49.6% 0.195 301.6);
Tailwind
colors: {
  custom: {
    50: '#a474d1',
    500: '#7839bc',
    950: '#000000',
  },
}
SCSS
$custom: #7839bc;
$custom-light: #a474d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7839bc",
  "rgb": {
    "r": 120,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 268.855,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49568,
    "c": 0.19522,
    "h": 301.6
  },
  "luminance": 0.1055
}

Semantic roles & 50–950 ramp

primary
#7839BC
secondary
#AAC988
accent
#DD4B97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7839BC

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

Preview Lab → · Contrast checker → · Palette generator →

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