#7835B5#7835B5

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

Color values

HEX#7835B5
RGBrgb(120, 53, 181)
HSLhsl(271, 55%, 46%)
HSVhsv(271, 71%, 71%)
CMYKcmyk(33.7%, 70.7%, 0%, 29%)
CIE-LABlab(37.62, 52.56, -56.20)
CIE-LCHlch(37.62, 76.95, 313.09°)
OKLaboklab(48.55% 0.1075 -0.1598)
OKLCHoklch(48.55% 0.193 303.9)
XYZxyz(17.3574, 9.8755, 44.6988)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835B5 #72B535
analogous
#3835B5 #7835B5 #B535B2
triadic
#7835B5 #B57835 #35B578
tetradic
#7835B5 #B53835 #72B535 #35B2B5
square
#7835B5 #B53835 #72B535 #35B2B5
split-complementary
#7835B5 #B2B535 #35B538
monochromatic
#391956 #592786 #7835B5 #9659CE #B488DC

Accessibility & contrast

On white

7.06
#7835B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7835B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7835B5
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835B5#FFFFFF#000000##FFFFFF
##7835B51.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#6C5371
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7835b5;
/* rgb */ color: rgb(120, 53, 181);
/* oklch */ color: oklch(48.6% 0.193 303.9);
Tailwind
colors: {
  custom: {
    50: '#a472cc',
    500: '#7835b5',
    950: '#000000',
  },
}
SCSS
$custom: #7835b5;
$custom-light: #a472cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7835b5",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 271.406,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48554,
    "c": 0.19262,
    "h": 303.9
  },
  "luminance": 0.09875
}

Semantic roles & 50–950 ramp

primary
#7835B5
secondary
#A1C680
accent
#DE4A90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7835B5

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

Preview Lab → · Contrast checker → · Palette generator →

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