#7834BC#7834BC

#7834BC is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.0% C 0.201 H 302.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7834BC
RGBrgb(120, 52, 188)
HSLhsl(270, 57%, 47%)
HSVhsv(270, 72%, 74%)
CMYKcmyk(36.2%, 72.3%, 0%, 26.3%)
CIE-LABlab(37.99, 54.70, -59.73)
CIE-LCHlch(37.99, 80.99, 312.48°)
OKLaboklab(48.98% 0.1073 -0.1702)
OKLCHoklch(48.98% 0.201 302.2)
XYZxyz(18.0487, 10.0798, 48.5619)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834BC #78BC34
analogous
#3434BC #7834BC #BC34BC
triadic
#7834BC #BC7834 #34BC78
tetradic
#7834BC #BC3434 #78BC34 #34BCBC
square
#7834BC #BC3434 #78BC34 #34BCBC
split-complementary
#7834BC #BCBC34 #34BC34
monochromatic
#3B195C #59278C #7834BC #975BD2 #B58BDF

Accessibility & contrast

On white

6.96
#7834BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7834BC#FFFFFF#000000##FFFFFF
##7834BC1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#6A5575
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7834bc;
/* rgb */ color: rgb(120, 52, 188);
/* oklch */ color: oklch(49.0% 0.201 302.2);
Tailwind
colors: {
  custom: {
    50: '#a572d1',
    500: '#7834bc',
    950: '#000000',
  },
}
SCSS
$custom: #7834bc;
$custom-light: #a572d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7834bc",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 270,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4898,
    "c": 0.20119,
    "h": 302.2
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7834BC

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

Preview Lab → · Contrast checker → · Palette generator →

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