#7839CA#7839CA

#7839CA is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.210 H 298.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7839CA
RGBrgb(120, 57, 202)
HSLhsl(266, 58%, 51%)
HSVhsv(266, 72%, 79%)
CMYKcmyk(40.6%, 71.8%, 0%, 20.8%)
CIE-LABlab(39.89, 55.84, -64.81)
CIE-LCHlch(39.89, 85.55, 310.75°)
OKLaboklab(50.67% 0.0998 -0.1852)
OKLCHoklch(50.67% 0.21 298.3)
XYZxyz(19.8668, 11.1833, 56.9776)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7839CA #8BCA39
analogous
#3942CA #7839CA #C039CA
triadic
#7839CA #CA7839 #39CA78
tetradic
#7839CA #CA3942 #8BCA39 #39CAC0
square
#7839CA #CA3942 #8BCA39 #39CAC0
split-complementary
#7839CA #CAC039 #42CA39
monochromatic
#3F1D6C #5B2A9C #7839CA #9969D7 #BA9AE4

Accessibility & contrast

On white

6.49
#7839CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7839CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7839CA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7839CA#FFFFFF#000000##FFFFFF
##7839CA1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#645D7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7839ca;
/* rgb */ color: rgb(120, 57, 202);
/* oklch */ color: oklch(50.7% 0.210 298.3);
Tailwind
colors: {
  custom: {
    50: '#a675db',
    500: '#7839ca',
    950: '#000000',
  },
}
SCSS
$custom: #7839ca;
$custom-light: #a675db;
$custom-dark: #000000;
JSON
{
  "hex": "#7839ca",
  "rgb": {
    "r": 120,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 266.069,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50669,
    "c": 0.21034,
    "h": 298.3
  },
  "luminance": 0.11184
}

Semantic roles & 50–950 ramp

primary
#7839CA
secondary
#B4D08F
accent
#E1479E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7839CA

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

Preview Lab → · Contrast checker → · Palette generator →

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