#7834AA#7834AA

#7834AA is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.182 H 307.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7834AA
RGBrgb(120, 52, 170)
HSLhsl(275, 53%, 44%)
HSVhsv(275, 69%, 67%)
CMYKcmyk(29.4%, 69.4%, 0%, 33.3%)
CIE-LABlab(36.65, 50.43, -51.22)
CIE-LCHlch(36.65, 71.88, 314.55°)
OKLaboklab(47.61% 0.1101 -0.1452)
OKLCHoklch(47.61% 0.182 307.2)
XYZxyz(16.2279, 9.3515, 38.9725)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834AA #66AA34
analogous
#3D34AA #7834AA #AA34A1
triadic
#7834AA #AA7834 #34AA78
tetradic
#7834AA #AA3D34 #66AA34 #34A1AA
square
#7834AA #AA3D34 #66AA34 #34A1AA
split-complementary
#7834AA #A1AA34 #34AA3D
monochromatic
#36174C #57267B #7834AA #9751CA #B380D8

Accessibility & contrast

On white

7.32
#7834AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7834AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7834AA#FFFFFF#000000##FFFFFF
##7834AA1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#1457A7
Tritanopia (blue-blind)
#704E6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7834aa;
/* rgb */ color: rgb(120, 52, 170);
/* oklch */ color: oklch(47.6% 0.182 307.2);
Tailwind
colors: {
  custom: {
    50: '#a371c4',
    500: '#7834aa',
    950: '#000000',
  },
}
SCSS
$custom: #7834aa;
$custom-light: #a371c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7834aa",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 274.576,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47613,
    "c": 0.18224,
    "h": 307.2
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#7834AA
secondary
#97C178
accent
#DD4B89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7834AA

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

Preview Lab → · Contrast checker → · Palette generator →

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