#7835D2#7835D2

#7835D2 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.9% C 0.223 H 297.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7835D2
RGBrgb(120, 53, 210)
HSLhsl(266, 64%, 52%)
HSVhsv(266, 75%, 82%)
CMYKcmyk(42.9%, 74.8%, 0%, 17.6%)
CIE-LABlab(39.90, 59.62, -69.42)
CIE-LCHlch(39.90, 91.50, 310.66°)
OKLaboklab(50.88% 0.1015 -0.1987)
OKLCHoklch(50.88% 0.223 297.1)
XYZxyz(20.6486, 11.1920, 62.0326)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835D2 #8FD235
analogous
#3541D2 #7835D2 #C735D2
triadic
#7835D2 #D27835 #35D278
tetradic
#7835D2 #D23541 #8FD235 #35D2C7
square
#7835D2 #D23541 #8FD235 #35D2C7
split-complementary
#7835D2 #D2C735 #41D235
monochromatic
#401A73 #5C25A5 #7835D2 #9967DD #BB99E8

Accessibility & contrast

On white

6.48
#7835D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7835D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7835D2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835D2#FFFFFF#000000##FFFFFF
##7835D21.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#605F81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7835d2;
/* rgb */ color: rgb(120, 53, 210);
/* oklch */ color: oklch(50.9% 0.223 297.1);
Tailwind
colors: {
  custom: {
    50: '#a773e1',
    500: '#7835d2',
    950: '#000000',
  },
}
SCSS
$custom: #7835d2;
$custom-light: #a773e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7835d2",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 265.605,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5088,
    "c": 0.22313,
    "h": 297.1
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#7835D2
secondary
#B6D48F
accent
#E741A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7835D2

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

Preview Lab → · Contrast checker → · Palette generator →

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