#7835BA#7835BA

#7835BA is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.198 H 302.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7835BA
RGBrgb(120, 53, 186)
HSLhsl(270, 56%, 47%)
HSVhsv(270, 72%, 73%)
CMYKcmyk(35.5%, 71.5%, 0%, 27.1%)
CIE-LABlab(37.99, 53.76, -58.54)
CIE-LCHlch(37.99, 79.48, 312.56°)
OKLaboklab(48.94% 0.1066 -0.1667)
OKLCHoklch(48.94% 0.198 302.6)
XYZxyz(17.8797, 10.0844, 47.4494)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835BA #77BA35
analogous
#3635BA #7835BA #BA35BA
triadic
#7835BA #BA7835 #35BA78
tetradic
#7835BA #BA3635 #77BA35 #35BABA
square
#7835BA #BA3635 #77BA35 #35BABA
split-complementary
#7835BA #BABA35 #35BA36
monochromatic
#3B1A5B #59278A #7835BA #975CD0 #B58BDE

Accessibility & contrast

On white

6.96
#7835BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7835BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7835BA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835BA#FFFFFF#000000##FFFFFF
##7835BA1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#6A5574
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7835ba;
/* rgb */ color: rgb(120, 53, 186);
/* oklch */ color: oklch(48.9% 0.198 302.6);
Tailwind
colors: {
  custom: {
    50: '#a472d0',
    500: '#7835ba',
    950: '#000000',
  },
}
SCSS
$custom: #7835ba;
$custom-light: #a472d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7835ba",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 270.226,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48938,
    "c": 0.19792,
    "h": 302.6
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7835BA

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

Preview Lab → · Contrast checker → · Palette generator →

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