#7834BD#7834BD

#7834BD is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.202 H 302.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7834BD
RGBrgb(120, 52, 189)
HSLhsl(270, 57%, 47%)
HSVhsv(270, 72%, 74%)
CMYKcmyk(36.5%, 72.5%, 0%, 25.9%)
CIE-LABlab(38.06, 54.94, -60.19)
CIE-LCHlch(38.06, 81.49, 312.39°)
OKLaboklab(49.06% 0.1071 -0.1716)
OKLCHoklch(49.06% 0.202 302)
XYZxyz(18.1568, 10.1231, 49.1316)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834BD #79BD34
analogous
#3435BD #7834BD #BC34BD
triadic
#7834BD #BD7834 #34BD78
tetradic
#7834BD #BD3435 #79BD34 #34BDBC
square
#7834BD #BD3435 #79BD34 #34BDBC
split-complementary
#7834BD #BDBC34 #35BD34
monochromatic
#3B1A5D #5A278D #7834BD #975CD2 #B58CDF

Accessibility & contrast

On white

6.94
#7834BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7834BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7834BD#FFFFFF#000000##FFFFFF
##7834BD1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#695675
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7834bd;
/* rgb */ color: rgb(120, 52, 189);
/* oklch */ color: oklch(49.1% 0.202 302.0);
Tailwind
colors: {
  custom: {
    50: '#a572d2',
    500: '#7834bd',
    950: '#000000',
  },
}
SCSS
$custom: #7834bd;
$custom-light: #a572d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7834bd",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 269.781,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49059,
    "c": 0.20224,
    "h": 302
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#7834BD
secondary
#A7CA83
accent
#E04894
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7834BD

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

Preview Lab → · Contrast checker → · Palette generator →

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