#7839C1#7839C1

#7839C1 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.0% C 0.201 H 300.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7839C1
RGBrgb(120, 57, 193)
HSLhsl(268, 54%, 49%)
HSVhsv(268, 70%, 76%)
CMYKcmyk(37.8%, 70.5%, 0%, 24.3%)
CIE-LABlab(39.19, 53.60, -60.70)
CIE-LCHlch(39.19, 80.98, 311.45°)
OKLaboklab(49.96% 0.1014 -0.1731)
OKLCHoklch(49.96% 0.201 300.4)
XYZxyz(18.8321, 10.7694, 51.5283)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7839C1 #82C139
analogous
#393EC1 #7839C1 #BC39C1
triadic
#7839C1 #C17839 #39C178
tetradic
#7839C1 #C1393E #82C139 #39C1BC
square
#7839C1 #C1393E #82C139 #39C1BC
split-complementary
#7839C1 #C1BC39 #3EC139
monochromatic
#3D1D63 #5B2B92 #7839C1 #9866D2 #B795E0

Accessibility & contrast

On white

6.66
#7839C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7839C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7839C1
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7839C1#FFFFFF#000000##FFFFFF
##7839C11.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#685A79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7839c1;
/* rgb */ color: rgb(120, 57, 193);
/* oklch */ color: oklch(50.0% 0.201 300.4);
Tailwind
colors: {
  custom: {
    50: '#a574d5',
    500: '#7839c1',
    950: '#000000',
  },
}
SCSS
$custom: #7839c1;
$custom-light: #a574d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7839c1",
  "rgb": {
    "r": 120,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 267.794,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49955,
    "c": 0.20064,
    "h": 300.4
  },
  "luminance": 0.1077
}

Semantic roles & 50–950 ramp

primary
#7839C1
secondary
#ADCB8B
accent
#DE4A99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7839C1

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

Preview Lab → · Contrast checker → · Palette generator →

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