#7835B6#7835B6

#7835B6 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.194 H 303.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7835B6
RGBrgb(120, 53, 182)
HSLhsl(271, 55%, 46%)
HSVhsv(271, 71%, 71%)
CMYKcmyk(34.1%, 70.9%, 0%, 28.6%)
CIE-LABlab(37.69, 52.80, -56.67)
CIE-LCHlch(37.69, 77.45, 312.98°)
OKLaboklab(48.63% 0.1073 -0.1612)
OKLCHoklch(48.63% 0.194 303.6)
XYZxyz(17.4604, 9.9167, 45.2412)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835B6 #73B635
analogous
#3735B6 #7835B6 #B635B3
triadic
#7835B6 #B67835 #35B678
tetradic
#7835B6 #B63735 #73B635 #35B3B6
square
#7835B6 #B63735 #73B635 #35B3B6
split-complementary
#7835B6 #B3B635 #35B637
monochromatic
#391957 #592787 #7835B6 #9659CF #B489DD

Accessibility & contrast

On white

7.04
#7835B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7835B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7835B6
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835B6#FFFFFF#000000##FFFFFF
##7835B61.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#6C5372
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7835b6;
/* rgb */ color: rgb(120, 53, 182);
/* oklch */ color: oklch(48.6% 0.194 303.6);
Tailwind
colors: {
  custom: {
    50: '#a472cd',
    500: '#7835b6',
    950: '#000000',
  },
}
SCSS
$custom: #7835b6;
$custom-light: #a472cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7835b6",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 271.163,
    "s": 54.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4863,
    "c": 0.19368,
    "h": 303.6
  },
  "luminance": 0.09917
}

Semantic roles & 50–950 ramp

primary
#7835B6
secondary
#A2C780
accent
#DE4A91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7835B6

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

Preview Lab → · Contrast checker → · Palette generator →

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