#7834B5#7834B5

#7834B5 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.194 H 304.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7834B5
RGBrgb(120, 52, 181)
HSLhsl(272, 55%, 46%)
HSVhsv(272, 71%, 71%)
CMYKcmyk(33.7%, 71.3%, 0%, 29%)
CIE-LABlab(37.45, 53.02, -56.46)
CIE-LCHlch(37.45, 77.46, 313.20°)
OKLaboklab(48.44% 0.1085 -0.1606)
OKLCHoklch(48.44% 0.194 304)
XYZxyz(17.3123, 9.7853, 44.6838)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834B5 #71B534
analogous
#3734B5 #7834B5 #B534B1
triadic
#7834B5 #B57834 #34B578
tetradic
#7834B5 #B53734 #71B534 #34B1B5
square
#7834B5 #B53734 #71B534 #34B1B5
split-complementary
#7834B5 #B1B534 #34B537
monochromatic
#391956 #582685 #7834B5 #9657CF #B487DC

Accessibility & contrast

On white

7.10
#7834B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7834B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7834B5#FFFFFF#000000##FFFFFF
##7834B51.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#6C5371
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7834b5;
/* rgb */ color: rgb(120, 52, 181);
/* oklch */ color: oklch(48.4% 0.194 304.0);
Tailwind
colors: {
  custom: {
    50: '#a471cc',
    500: '#7834b5',
    950: '#000000',
  },
}
SCSS
$custom: #7834b5;
$custom-light: #a471cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7834b5",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 271.628,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48437,
    "c": 0.19383,
    "h": 304
  },
  "luminance": 0.09785
}

Semantic roles & 50–950 ramp

primary
#7834B5
secondary
#A0C67F
accent
#DF4990
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7834B5

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

Preview Lab → · Contrast checker → · Palette generator →

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