#7834B7#7834B7

#7834B7 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.196 H 303.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7834B7
RGBrgb(120, 52, 183)
HSLhsl(271, 56%, 46%)
HSVhsv(271, 72%, 72%)
CMYKcmyk(34.4%, 71.6%, 0%, 28.2%)
CIE-LABlab(37.60, 53.50, -57.40)
CIE-LCHlch(37.60, 78.47, 312.98°)
OKLaboklab(48.59% 0.1082 -0.1634)
OKLCHoklch(48.59% 0.196 303.5)
XYZxyz(17.5190, 9.8680, 45.7723)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834B7 #73B734
analogous
#3634B7 #7834B7 #B734B4
triadic
#7834B7 #B77834 #34B778
tetradic
#7834B7 #B73634 #73B734 #34B4B7
square
#7834B7 #B73634 #73B734 #34B4B7
split-complementary
#7834B7 #B4B734 #34B736
monochromatic
#391958 #592687 #7834B7 #9659D0 #B488DD

Accessibility & contrast

On white

7.06
#7834B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7834B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7834B7#FFFFFF#000000##FFFFFF
##7834B71.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#6C5372
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7834b7;
/* rgb */ color: rgb(120, 52, 183);
/* oklch */ color: oklch(48.6% 0.196 303.5);
Tailwind
colors: {
  custom: {
    50: '#a471cd',
    500: '#7834b7',
    950: '#000000',
  },
}
SCSS
$custom: #7834b7;
$custom-light: #a471cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7834b7",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 271.145,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48591,
    "c": 0.19594,
    "h": 303.5
  },
  "luminance": 0.09868
}

Semantic roles & 50–950 ramp

primary
#7834B7
secondary
#A2C780
accent
#DF4991
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7834B7

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

Preview Lab → · Contrast checker → · Palette generator →

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