#7834C5#7834C5

#7834C5 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.211 H 300.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7834C5
RGBrgb(120, 52, 197)
HSLhsl(268, 58%, 49%)
HSVhsv(268, 74%, 77%)
CMYKcmyk(39.1%, 73.6%, 0%, 22.7%)
CIE-LABlab(38.69, 56.87, -63.85)
CIE-LCHlch(38.69, 85.51, 311.69°)
OKLaboklab(49.7% 0.1054 -0.1823)
OKLCHoklch(49.7% 0.211 300)
XYZxyz(19.0493, 10.4801, 53.8317)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7834C5 #81C534
analogous
#3439C5 #7834C5 #C134C5
triadic
#7834C5 #C57834 #34C578
tetradic
#7834C5 #C53439 #81C534 #34C5C1
square
#7834C5 #C53439 #81C534 #34C5C1
split-complementary
#7834C5 #C5C134 #39C534
monochromatic
#3D1A64 #5B2795 #7834C5 #9761D5 #B791E2

Accessibility & contrast

On white

6.78
#7834C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7834C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7834C5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7834C5#FFFFFF#000000##FFFFFF
##7834C51.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#66597A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7834c5;
/* rgb */ color: rgb(120, 52, 197);
/* oklch */ color: oklch(49.7% 0.211 300.0);
Tailwind
colors: {
  custom: {
    50: '#a672d8',
    500: '#7834c5',
    950: '#000000',
  },
}
SCSS
$custom: #7834c5;
$custom-light: #a672d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7834c5",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 268.138,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49699,
    "c": 0.21062,
    "h": 300
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#7834C5
secondary
#ADCD88
accent
#E14699
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7834C5

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

Preview Lab → · Contrast checker → · Palette generator →

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