#7834AE#7834AE

#7834AE is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.186 H 306.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7834AE
RGBrgb(120, 52, 174)
HSLhsl(273, 54%, 44%)
HSVhsv(273, 70%, 68%)
CMYKcmyk(31%, 70.1%, 0%, 31.8%)
CIE-LABlab(36.94, 51.37, -53.14)
CIE-LCHlch(36.94, 73.91, 314.03°)
OKLaboklab(47.91% 0.1096 -0.1509)
OKLCHoklch(47.91% 0.186 306)
XYZxyz(16.6120, 9.5052, 40.9957)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834AE #6AAE34
analogous
#3B34AE #7834AE #AE34A7
triadic
#7834AE #AE7834 #34AE78
tetradic
#7834AE #AE3B34 #6AAE34 #34A7AE
square
#7834AE #AE3B34 #6AAE34 #34A7AE
split-complementary
#7834AE #A7AE34 #34AE3B
monochromatic
#371850 #58267F #7834AE #9753CC #B383DA

Accessibility & contrast

On white

7.24
#7834AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7834AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7834AE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7834AE#FFFFFF#000000##FFFFFF
##7834AE1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#0757AB
Tritanopia (blue-blind)
#6F506D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7834ae;
/* rgb */ color: rgb(120, 52, 174);
/* oklch */ color: oklch(47.9% 0.186 306.0);
Tailwind
colors: {
  custom: {
    50: '#a471c7',
    500: '#7834ae',
    950: '#000000',
  },
}
SCSS
$custom: #7834ae;
$custom-light: #a471c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7834ae",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 273.443,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47908,
    "c": 0.18646,
    "h": 306
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#7834AE
secondary
#9BC37B
accent
#DD4A8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7834AE

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

Preview Lab → · Contrast checker → · Palette generator →

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