#7834C4#7834C4

#7834C4 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.210 H 300.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7834C4
RGBrgb(120, 52, 196)
HSLhsl(268, 58%, 49%)
HSVhsv(268, 73%, 77%)
CMYKcmyk(38.8%, 73.5%, 0%, 23.1%)
CIE-LABlab(38.61, 56.63, -63.40)
CIE-LCHlch(38.61, 85.01, 311.77°)
OKLaboklab(49.62% 0.1056 -0.181)
OKLCHoklch(49.62% 0.21 300.3)
XYZxyz(18.9351, 10.4344, 53.2303)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834C4 #80C434
analogous
#3438C4 #7834C4 #C034C4
triadic
#7834C4 #C47834 #34C478
tetradic
#7834C4 #C43438 #80C434 #34C4C0
square
#7834C4 #C43438 #80C434 #34C4C0
split-complementary
#7834C4 #C4C034 #38C434
monochromatic
#3D1A63 #5A2794 #7834C4 #9760D5 #B791E2

Accessibility & contrast

On white

6.80
#7834C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7834C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7834C4#FFFFFF#000000##FFFFFF
##7834C41.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#675879
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7834c4;
/* rgb */ color: rgb(120, 52, 196);
/* oklch */ color: oklch(49.6% 0.210 300.3);
Tailwind
colors: {
  custom: {
    50: '#a572d7',
    500: '#7834c4',
    950: '#000000',
  },
}
SCSS
$custom: #7834c4;
$custom-light: #a572d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7834c4",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 268.333,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49618,
    "c": 0.20957,
    "h": 300.3
  },
  "luminance": 0.10435
}

Semantic roles & 50–950 ramp

primary
#7834C4
secondary
#ACCC87
accent
#E14798
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7834C4

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

Preview Lab → · Contrast checker → · Palette generator →

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