#7839BF#7839BF

#7839BF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.198 H 300.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7839BF
RGBrgb(120, 57, 191)
HSLhsl(268, 54%, 49%)
HSVhsv(268, 70%, 75%)
CMYKcmyk(37.2%, 70.2%, 0%, 25.1%)
CIE-LABlab(39.04, 53.11, -59.78)
CIE-LCHlch(39.04, 79.96, 311.62°)
OKLaboklab(49.8% 0.1018 -0.1704)
OKLCHoklch(49.8% 0.198 300.8)
XYZxyz(18.6105, 10.6808, 50.3612)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7839BF #80BF39
analogous
#393DBF #7839BF #BB39BF
triadic
#7839BF #BF7839 #39BF78
tetradic
#7839BF #BF393D #80BF39 #39BFBB
square
#7839BF #BF393D #80BF39 #39BFBB
split-complementary
#7839BF #BFBB39 #3DBF39
monochromatic
#3D1D61 #5A2B90 #7839BF #9764D1 #B793DF

Accessibility & contrast

On white

6.70
#7839BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7839BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7839BF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7839BF#FFFFFF#000000##FFFFFF
##7839BF1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#685978
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7839bf;
/* rgb */ color: rgb(120, 57, 191);
/* oklch */ color: oklch(49.8% 0.198 300.8);
Tailwind
colors: {
  custom: {
    50: '#a574d3',
    500: '#7839bf',
    950: '#000000',
  },
}
SCSS
$custom: #7839bf;
$custom-light: #a574d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7839bf",
  "rgb": {
    "r": 120,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 268.209,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49799,
    "c": 0.19848,
    "h": 300.8
  },
  "luminance": 0.10681
}

Semantic roles & 50–950 ramp

primary
#7839BF
secondary
#ACCA8A
accent
#DD4A98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7839BF

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

Preview Lab → · Contrast checker → · Palette generator →

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