#7839BE#7839BE

#7839BE is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.7% C 0.197 H 301.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7839BE
RGBrgb(120, 57, 190)
HSLhsl(268, 54%, 48%)
HSVhsv(268, 70%, 75%)
CMYKcmyk(36.8%, 70%, 0%, 25.5%)
CIE-LABlab(38.96, 52.87, -59.32)
CIE-LCHlch(38.96, 79.45, 311.71°)
OKLaboklab(49.72% 0.1019 -0.169)
OKLCHoklch(49.72% 0.197 301.1)
XYZxyz(18.5009, 10.6369, 49.7836)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7839BE #7FBE39
analogous
#393CBE #7839BE #BA39BE
triadic
#7839BE #BE7839 #39BE78
tetradic
#7839BE #BE393C #7FBE39 #39BEBA
square
#7839BE #BE393C #7FBE39 #39BEBA
split-complementary
#7839BE #BEBA39 #3CBE39
monochromatic
#3D1D60 #5A2B8F #7839BE #9764D0 #B793DF

Accessibility & contrast

On white

6.71
#7839BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7839BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7839BE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7839BE#FFFFFF#000000##FFFFFF
##7839BE1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#695977
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7839be;
/* rgb */ color: rgb(120, 57, 190);
/* oklch */ color: oklch(49.7% 0.197 301.1);
Tailwind
colors: {
  custom: {
    50: '#a574d2',
    500: '#7839be',
    950: '#000000',
  },
}
SCSS
$custom: #7839be;
$custom-light: #a574d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7839be",
  "rgb": {
    "r": 120,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 268.421,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49722,
    "c": 0.19739,
    "h": 301.1
  },
  "luminance": 0.10637
}

Semantic roles & 50–950 ramp

primary
#7839BE
secondary
#ABCA89
accent
#DD4B98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7839BE

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

Preview Lab → · Contrast checker → · Palette generator →

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