#7839AE#7839AE

#7839AE is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.180 H 305.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7839AE
RGBrgb(120, 57, 174)
HSLhsl(272, 51%, 45%)
HSVhsv(272, 67%, 68%)
CMYKcmyk(31%, 67.2%, 0%, 31.8%)
CIE-LABlab(37.80, 48.98, -51.75)
CIE-LCHlch(37.80, 71.26, 313.42°)
OKLaboklab(48.52% 0.1041 -0.1468)
OKLCHoklch(48.52% 0.18 305.3)
XYZxyz(16.8472, 9.9754, 41.0741)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7839AE #6FAE39
analogous
#3E39AE #7839AE #AE39A9
triadic
#7839AE #AE7839 #39AE78
tetradic
#7839AE #AE3E39 #6FAE39 #39A9AE
square
#7839AE #AE3E39 #6FAE39 #39A9AE
split-complementary
#7839AE #A9AE39 #39AE3E
monochromatic
#381B52 #582A80 #7839AE #965BC9 #B489D8

Accessibility & contrast

On white

7.01
#7839AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7839AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7839AE
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7839AE#FFFFFF#000000##FFFFFF
##7839AE1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#1559AB
Tritanopia (blue-blind)
#6E536F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7839ae;
/* rgb */ color: rgb(120, 57, 174);
/* oklch */ color: oklch(48.5% 0.180 305.3);
Tailwind
colors: {
  custom: {
    50: '#a374c7',
    500: '#7839ae',
    950: '#000000',
  },
}
SCSS
$custom: #7839ae;
$custom-light: #a374c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7839ae",
  "rgb": {
    "r": 120,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 272.308,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48523,
    "c": 0.17997,
    "h": 305.3
  },
  "luminance": 0.09975
}

Semantic roles & 50–950 ramp

primary
#7839AE
secondary
#9FC380
accent
#DA4E8E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7839AE

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

Preview Lab → · Contrast checker → · Palette generator →

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