#7839BD#7839BD

#7839BD is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.196 H 301.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7839BD
RGBrgb(120, 57, 189)
HSLhsl(269, 54%, 48%)
HSVhsv(269, 70%, 74%)
CMYKcmyk(36.5%, 69.8%, 0%, 25.9%)
CIE-LABlab(38.89, 52.62, -58.85)
CIE-LCHlch(38.89, 78.94, 311.80°)
OKLaboklab(49.65% 0.1021 -0.1677)
OKLCHoklch(49.65% 0.196 301.3)
XYZxyz(18.3919, 10.5933, 49.2100)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7839BD #7EBD39
analogous
#393CBD #7839BD #BA39BD
triadic
#7839BD #BD7839 #39BD78
tetradic
#7839BD #BD393C #7EBD39 #39BDBA
square
#7839BD #BD393C #7EBD39 #39BDBA
split-complementary
#7839BD #BDBA39 #3CBD39
monochromatic
#3C1D5F #5A2B8E #7839BD #9763D0 #B692DE

Accessibility & contrast

On white

6.73
#7839BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7839BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7839BD
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7839BD#FFFFFF#000000##FFFFFF
##7839BD1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#695877
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7839bd;
/* rgb */ color: rgb(120, 57, 189);
/* oklch */ color: oklch(49.6% 0.196 301.3);
Tailwind
colors: {
  custom: {
    50: '#a474d2',
    500: '#7839bd',
    950: '#000000',
  },
}
SCSS
$custom: #7839bd;
$custom-light: #a474d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7839bd",
  "rgb": {
    "r": 120,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 268.636,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49645,
    "c": 0.1963,
    "h": 301.3
  },
  "luminance": 0.10593
}

Semantic roles & 50–950 ramp

primary
#7839BD
secondary
#AAC989
accent
#DD4B97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7839BD

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

Preview Lab → · Contrast checker → · Palette generator →

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