#7834AD#7834AD

#7834AD is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.185 H 306.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7834AD
RGBrgb(120, 52, 173)
HSLhsl(274, 54%, 44%)
HSVhsv(274, 70%, 68%)
CMYKcmyk(30.6%, 69.9%, 0%, 32.2%)
CIE-LABlab(36.87, 51.13, -52.67)
CIE-LCHlch(36.87, 73.40, 314.15°)
OKLaboklab(47.83% 0.1097 -0.1495)
OKLCHoklch(47.83% 0.185 306.3)
XYZxyz(16.5149, 9.4663, 40.4842)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834AD #69AD34
analogous
#3C34AD #7834AD #AD34A6
triadic
#7834AD #AD7834 #34AD78
tetradic
#7834AD #AD3C34 #69AD34 #34A6AD
square
#7834AD #AD3C34 #69AD34 #34A6AD
split-complementary
#7834AD #A6AD34 #34AD3C
monochromatic
#37184F #57267E #7834AD #9753CB #B382D9

Accessibility & contrast

On white

7.26
#7834AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7834AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7834AD
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7834AD#FFFFFF#000000##FFFFFF
##7834AD1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0B57AA
Tritanopia (blue-blind)
#6F4F6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7834ad;
/* rgb */ color: rgb(120, 52, 173);
/* oklch */ color: oklch(47.8% 0.185 306.3);
Tailwind
colors: {
  custom: {
    50: '#a371c6',
    500: '#7834ad',
    950: '#000000',
  },
}
SCSS
$custom: #7834ad;
$custom-light: #a371c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7834ad",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 273.719,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47834,
    "c": 0.18541,
    "h": 306.3
  },
  "luminance": 0.09466
}

Semantic roles & 50–950 ramp

primary
#7834AD
secondary
#9AC37A
accent
#DD4B8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7834AD

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

Preview Lab → · Contrast checker → · Palette generator →

#7834AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva