#7834C3#7834C3

#7834C3 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.209 H 300.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7834C3
RGBrgb(120, 52, 195)
HSLhsl(269, 58%, 48%)
HSVhsv(269, 73%, 76%)
CMYKcmyk(38.5%, 73.3%, 0%, 23.5%)
CIE-LABlab(38.53, 56.39, -62.94)
CIE-LCHlch(38.53, 84.50, 311.85°)
OKLaboklab(49.54% 0.1058 -0.1797)
OKLCHoklch(49.54% 0.209 300.5)
XYZxyz(18.8216, 10.3890, 52.6329)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834C3 #7FC334
analogous
#3438C3 #7834C3 #BF34C3
triadic
#7834C3 #C37834 #34C378
tetradic
#7834C3 #C33438 #7FC334 #34C3BF
square
#7834C3 #C33438 #7FC334 #34C3BF
split-complementary
#7834C3 #C3BF34 #38C334
monochromatic
#3D1A62 #5A2793 #7834C3 #9760D5 #B790E1

Accessibility & contrast

On white

6.82
#7834C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7834C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7834C3
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7834C3#FFFFFF#000000##FFFFFF
##7834C31.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7834c3;
/* rgb */ color: rgb(120, 52, 195);
/* oklch */ color: oklch(49.5% 0.209 300.5);
Tailwind
colors: {
  custom: {
    50: '#a572d6',
    500: '#7834c3',
    950: '#000000',
  },
}
SCSS
$custom: #7834c3;
$custom-light: #a572d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7834c3",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 268.531,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49538,
    "c": 0.20853,
    "h": 300.5
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7834C3

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

Preview Lab → · Contrast checker → · Palette generator →

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