#7839AF#7839AF

#7839AF is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.181 H 305.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7839AF
RGBrgb(120, 57, 175)
HSLhsl(272, 51%, 45%)
HSVhsv(272, 67%, 69%)
CMYKcmyk(31.4%, 67.4%, 0%, 31.4%)
CIE-LABlab(37.87, 49.22, -52.24)
CIE-LCHlch(37.87, 71.77, 313.30°)
OKLaboklab(48.6% 0.104 -0.1482)
OKLCHoklch(48.6% 0.181 305.1)
XYZxyz(16.9450, 10.0146, 41.5894)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7839AF #70AF39
analogous
#3D39AF #7839AF #AF39AB
triadic
#7839AF #AF7839 #39AF78
tetradic
#7839AF #AF3D39 #70AF39 #39ABAF
square
#7839AF #AF3D39 #70AF39 #39ABAF
split-complementary
#7839AF #ABAF39 #39AF3D
monochromatic
#391B53 #582A81 #7839AF #965BCA #B48AD9

Accessibility & contrast

On white

6.99
#7839AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#7839AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7839AF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7839AF#FFFFFF#000000##FFFFFF
##7839AF1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#1359AC
Tritanopia (blue-blind)
#6E536F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7839af;
/* rgb */ color: rgb(120, 57, 175);
/* oklch */ color: oklch(48.6% 0.181 305.1);
Tailwind
colors: {
  custom: {
    50: '#a374c8',
    500: '#7839af',
    950: '#000000',
  },
}
SCSS
$custom: #7839af;
$custom-light: #a374c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7839af",
  "rgb": {
    "r": 120,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 272.034,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48595,
    "c": 0.18106,
    "h": 305.1
  },
  "luminance": 0.10014
}

Semantic roles & 50–950 ramp

primary
#7839AF
secondary
#A0C381
accent
#DA4D8F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7839AF

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

Preview Lab → · Contrast checker → · Palette generator →

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