#7835B8#7835B8

#7835B8 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.8% C 0.196 H 303.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7835B8
RGBrgb(120, 53, 184)
HSLhsl(271, 55%, 46%)
HSVhsv(271, 71%, 72%)
CMYKcmyk(34.8%, 71.2%, 0%, 27.8%)
CIE-LABlab(37.84, 53.28, -57.61)
CIE-LCHlch(37.84, 78.47, 312.77°)
OKLaboklab(48.78% 0.107 -0.164)
OKLCHoklch(48.78% 0.196 303.1)
XYZxyz(17.6685, 10.0000, 46.3375)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835B8 #75B835
analogous
#3735B8 #7835B8 #B835B7
triadic
#7835B8 #B87835 #35B878
tetradic
#7835B8 #B83735 #75B835 #35B7B8
square
#7835B8 #B83735 #75B835 #35B7B8
split-complementary
#7835B8 #B7B835 #35B837
monochromatic
#3A1A59 #592788 #7835B8 #965BD0 #B58ADD

Accessibility & contrast

On white

7.00
#7835B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7835B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7835B8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835B8#FFFFFF#000000##FFFFFF
##7835B81.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#6B5473
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7835b8;
/* rgb */ color: rgb(120, 53, 184);
/* oklch */ color: oklch(48.8% 0.196 303.1);
Tailwind
colors: {
  custom: {
    50: '#a472ce',
    500: '#7835b8',
    950: '#000000',
  },
}
SCSS
$custom: #7835b8;
$custom-light: #a472ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7835b8",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 270.687,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48784,
    "c": 0.19579,
    "h": 303.1
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#7835B8
secondary
#A4C781
accent
#DF4992
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7835B8

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

Preview Lab → · Contrast checker → · Palette generator →

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