#7834AC#7834AC

#7834AC is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.184 H 306.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7834AC
RGBrgb(120, 52, 172)
HSLhsl(274, 54%, 44%)
HSVhsv(274, 70%, 67%)
CMYKcmyk(30.2%, 69.8%, 0%, 32.5%)
CIE-LABlab(36.80, 50.90, -52.19)
CIE-LCHlch(36.80, 72.90, 314.28°)
OKLaboklab(47.76% 0.1099 -0.148)
OKLCHoklch(47.76% 0.184 306.6)
XYZxyz(16.4185, 9.4278, 39.9765)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834AC #68AC34
analogous
#3C34AC #7834AC #AC34A4
triadic
#7834AC #AC7834 #34AC78
tetradic
#7834AC #AC3C34 #68AC34 #34A4AC
square
#7834AC #AC3C34 #68AC34 #34A4AC
split-complementary
#7834AC #A4AC34 #34AC3C
monochromatic
#36184E #57267D #7834AC #9752CB #B381D9

Accessibility & contrast

On white

7.28
#7834AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7834AC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7834AC#FFFFFF#000000##FFFFFF
##7834AC1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#0E57A9
Tritanopia (blue-blind)
#6F4F6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7834ac;
/* rgb */ color: rgb(120, 52, 172);
/* oklch */ color: oklch(47.8% 0.184 306.6);
Tailwind
colors: {
  custom: {
    50: '#a371c5',
    500: '#7834ac',
    950: '#000000',
  },
}
SCSS
$custom: #7834ac;
$custom-light: #a371c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7834ac",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 274,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4776,
    "c": 0.18435,
    "h": 306.6
  },
  "luminance": 0.09428
}

Semantic roles & 50–950 ramp

primary
#7834AC
secondary
#99C279
accent
#DD4B8A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7834AC

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

Preview Lab → · Contrast checker → · Palette generator →

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