#7834C0#7834C0

#7834C0 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.205 H 301.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7834C0
RGBrgb(120, 52, 192)
HSLhsl(269, 57%, 48%)
HSVhsv(269, 73%, 75%)
CMYKcmyk(37.5%, 72.9%, 0%, 24.7%)
CIE-LABlab(38.30, 55.66, -61.57)
CIE-LCHlch(38.30, 83.00, 312.11°)
OKLaboklab(49.3% 0.1065 -0.1756)
OKLCHoklch(49.3% 0.205 301.2)
XYZxyz(18.4858, 10.2547, 50.8644)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834C0 #7CC034
analogous
#3436C0 #7834C0 #BE34C0
triadic
#7834C0 #C07834 #34C078
tetradic
#7834C0 #C03436 #7CC034 #34C0BE
square
#7834C0 #C03436 #7CC034 #34C0BE
split-complementary
#7834C0 #C0BE34 #36C034
monochromatic
#3C1A60 #5A2790 #7834C0 #975ED3 #B68EE0

Accessibility & contrast

On white

6.88
#7834C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7834C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7834C0
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7834C0#FFFFFF#000000##FFFFFF
##7834C01.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#685777
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7834c0;
/* rgb */ color: rgb(120, 52, 192);
/* oklch */ color: oklch(49.3% 0.205 301.2);
Tailwind
colors: {
  custom: {
    50: '#a572d4',
    500: '#7834c0',
    950: '#000000',
  },
}
SCSS
$custom: #7834c0;
$custom-light: #a572d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7834c0",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 269.143,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49297,
    "c": 0.20539,
    "h": 301.2
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#7834C0
secondary
#A9CB85
accent
#E14796
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7834C0

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

Preview Lab → · Contrast checker → · Palette generator →

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