#7839DA#7839DA

#7839DA is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.227 H 295.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7839DA
RGBrgb(120, 57, 218)
HSLhsl(263, 69%, 54%)
HSVhsv(263, 74%, 85%)
CMYKcmyk(45%, 73.9%, 0%, 14.5%)
CIE-LABlab(41.19, 59.85, -71.92)
CIE-LCHlch(41.19, 93.57, 309.77°)
OKLaboklab(51.99% 0.0962 -0.2061)
OKLCHoklch(51.99% 0.227 295)
XYZxyz(21.8603, 11.9807, 67.4768)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7839DA #9BDA39
analogous
#394BDA #7839DA #C939DA
triadic
#7839DA #DA7839 #39DA78
tetradic
#7839DA #DA394B #9BDA39 #39DAC9
square
#7839DA #DA394B #9BDA39 #39DAC9
split-complementary
#7839DA #DAC939 #4BDA39
monochromatic
#411881 #5B22B4 #7839DA #9B6DE4 #BEA0ED

Accessibility & contrast

On white

6.18
#7839DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7839DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7839DA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7839DA#FFFFFF#000000##FFFFFF
##7839DA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DF
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#5C6487
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7839da;
/* rgb */ color: rgb(120, 57, 218);
/* oklch */ color: oklch(52.0% 0.227 295.0);
Tailwind
colors: {
  custom: {
    50: '#a775e7',
    500: '#7839da',
    950: '#000000',
  },
}
SCSS
$custom: #7839da;
$custom-light: #a775e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7839da",
  "rgb": {
    "r": 120,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 263.478,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51987,
    "c": 0.22743,
    "h": 295
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#7839DA
secondary
#BFDA95
accent
#EB3CA7
background
#FAF7FE
surface
#F5EDFD
border
#CFC8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7839DA

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

Preview Lab → · Contrast checker → · Palette generator →

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