#7835BB#7835BB

#7835BB is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.0% C 0.199 H 302.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7835BB
RGBrgb(120, 53, 187)
HSLhsl(270, 56%, 47%)
HSVhsv(270, 72%, 73%)
CMYKcmyk(35.8%, 71.7%, 0%, 26.7%)
CIE-LABlab(38.07, 54.00, -59.00)
CIE-LCHlch(38.07, 79.98, 312.47°)
OKLaboklab(49.02% 0.1065 -0.1681)
OKLCHoklch(49.02% 0.199 302.3)
XYZxyz(17.9863, 10.1271, 48.0112)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835BB #78BB35
analogous
#3535BB #7835BB #BB35BB
triadic
#7835BB #BB7835 #35BB78
tetradic
#7835BB #BB3535 #78BB35 #35BBBB
square
#7835BB #BB3535 #78BB35 #35BBBB
split-complementary
#7835BB #BBBB35 #35BB35
monochromatic
#3B1A5C #59278B #7835BB #975CD1 #B58CDE

Accessibility & contrast

On white

6.94
#7835BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7835BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7835BB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835BB#FFFFFF#000000##FFFFFF
##7835BB1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#6A5575
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7835bb;
/* rgb */ color: rgb(120, 53, 187);
/* oklch */ color: oklch(49.0% 0.199 302.3);
Tailwind
colors: {
  custom: {
    50: '#a572d0',
    500: '#7835bb',
    950: '#000000',
  },
}
SCSS
$custom: #7835bb;
$custom-light: #a572d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7835bb",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 270,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49016,
    "c": 0.19898,
    "h": 302.3
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#7835BB
secondary
#A6C983
accent
#DF4994
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7835BB

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

Preview Lab → · Contrast checker → · Palette generator →

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