#7835B9#7835B9

#7835B9 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.9% C 0.197 H 302.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7835B9
RGBrgb(120, 53, 185)
HSLhsl(270, 55%, 47%)
HSVhsv(270, 71%, 73%)
CMYKcmyk(35.1%, 71.4%, 0%, 27.5%)
CIE-LABlab(37.92, 53.52, -58.07)
CIE-LCHlch(37.92, 78.97, 312.66°)
OKLaboklab(48.86% 0.1068 -0.1654)
OKLCHoklch(48.86% 0.197 302.9)
XYZxyz(17.7737, 10.0420, 46.8915)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835B9 #76B935
analogous
#3635B9 #7835B9 #B935B8
triadic
#7835B9 #B97835 #35B978
tetradic
#7835B9 #B93635 #76B935 #35B8B9
square
#7835B9 #B93635 #76B935 #35B8B9
split-complementary
#7835B9 #B8B935 #35B936
monochromatic
#3A1A5A #592789 #7835B9 #965BD0 #B58BDE

Accessibility & contrast

On white

6.98
#7835B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7835B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7835B9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835B9#FFFFFF#000000##FFFFFF
##7835B91.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#6B5573
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7835b9;
/* rgb */ color: rgb(120, 53, 185);
/* oklch */ color: oklch(48.9% 0.197 302.9);
Tailwind
colors: {
  custom: {
    50: '#a472cf',
    500: '#7835b9',
    950: '#000000',
  },
}
SCSS
$custom: #7835b9;
$custom-light: #a472cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7835b9",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 270.455,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48861,
    "c": 0.19686,
    "h": 302.9
  },
  "luminance": 0.10042
}

Semantic roles & 50–950 ramp

primary
#7835B9
secondary
#A4C882
accent
#DF4993
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7835B9

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

Preview Lab → · Contrast checker → · Palette generator →

#7835B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva