#7839BB#7839BB

#7839BB is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.194 H 301.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7839BB
RGBrgb(120, 57, 187)
HSLhsl(269, 53%, 48%)
HSVhsv(269, 70%, 73%)
CMYKcmyk(35.8%, 69.5%, 0%, 26.7%)
CIE-LABlab(38.74, 52.13, -57.92)
CIE-LCHlch(38.74, 77.92, 311.99°)
OKLaboklab(49.49% 0.1024 -0.1649)
OKLCHoklch(49.49% 0.194 301.8)
XYZxyz(18.1764, 10.5071, 48.0746)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7839BB #7CBB39
analogous
#393BBB #7839BB #B939BB
triadic
#7839BB #BB7839 #39BB78
tetradic
#7839BB #BB393B #7CBB39 #39BBB9
square
#7839BB #BB393B #7CBB39 #39BBB9
split-complementary
#7839BB #BBB939 #3BBB39
monochromatic
#3C1C5D #5A2B8C #7839BB #9762CF #B691DD

Accessibility & contrast

On white

6.77
#7839BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7839BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7839BB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7839BB#FFFFFF#000000##FFFFFF
##7839BB1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7839bb;
/* rgb */ color: rgb(120, 57, 187);
/* oklch */ color: oklch(49.5% 0.194 301.8);
Tailwind
colors: {
  custom: {
    50: '#a474d0',
    500: '#7839bb',
    950: '#000000',
  },
}
SCSS
$custom: #7839bb;
$custom-light: #a474d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7839bb",
  "rgb": {
    "r": 120,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 269.077,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49491,
    "c": 0.19414,
    "h": 301.8
  },
  "luminance": 0.10507
}

Semantic roles & 50–950 ramp

primary
#7839BB
secondary
#A9C887
accent
#DD4B96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7839BB

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

Preview Lab → · Contrast checker → · Palette generator →

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