#7834C2#7834C2

#7834C2 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.207 H 300.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7834C2
RGBrgb(120, 52, 194)
HSLhsl(269, 58%, 48%)
HSVhsv(269, 73%, 76%)
CMYKcmyk(38.1%, 73.2%, 0%, 23.9%)
CIE-LABlab(38.45, 56.14, -62.49)
CIE-LCHlch(38.45, 84.00, 311.94°)
OKLaboklab(49.46% 0.1061 -0.1783)
OKLCHoklch(49.46% 0.207 300.7)
XYZxyz(18.7089, 10.3440, 52.0394)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834C2 #7EC234
analogous
#3437C2 #7834C2 #BF34C2
triadic
#7834C2 #C27834 #34C278
tetradic
#7834C2 #C23437 #7EC234 #34C2BF
square
#7834C2 #C23437 #7EC234 #34C2BF
split-complementary
#7834C2 #C2BF34 #37C234
monochromatic
#3C1A61 #5A2792 #7834C2 #975FD4 #B68FE1

Accessibility & contrast

On white

6.84
#7834C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7834C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7834C2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7834C2#FFFFFF#000000##FFFFFF
##7834C21.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#675878
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7834c2;
/* rgb */ color: rgb(120, 52, 194);
/* oklch */ color: oklch(49.5% 0.207 300.7);
Tailwind
colors: {
  custom: {
    50: '#a572d5',
    500: '#7834c2',
    950: '#000000',
  },
}
SCSS
$custom: #7834c2;
$custom-light: #a572d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7834c2",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 268.732,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49457,
    "c": 0.20748,
    "h": 300.7
  },
  "luminance": 0.10344
}

Semantic roles & 50–950 ramp

primary
#7834C2
secondary
#AACC86
accent
#E14797
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7834C2

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

Preview Lab → · Contrast checker → · Palette generator →

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