#7835C3#7835C3

#7835C3 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.207 H 300.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7835C3
RGBrgb(120, 53, 195)
HSLhsl(268, 57%, 49%)
HSVhsv(268, 73%, 76%)
CMYKcmyk(38.5%, 72.8%, 0%, 23.5%)
CIE-LABlab(38.69, 55.94, -62.69)
CIE-LCHlch(38.69, 84.02, 311.75°)
OKLaboklab(49.65% 0.1049 -0.1789)
OKLCHoklch(49.65% 0.207 300.4)
XYZxyz(18.8667, 10.4792, 52.6479)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835C3 #80C335
analogous
#3539C3 #7835C3 #BF35C3
triadic
#7835C3 #C37835 #35C378
tetradic
#7835C3 #C33539 #80C335 #35C3BF
square
#7835C3 #C33539 #80C335 #35C3BF
split-complementary
#7835C3 #C3BF35 #39C335
monochromatic
#3D1B63 #5A2893 #7835C3 #9761D4 #B791E1

Accessibility & contrast

On white

6.78
#7835C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7835C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7835C3
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835C3#FFFFFF#000000##FFFFFF
##7835C31.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#675979
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7835c3;
/* rgb */ color: rgb(120, 53, 195);
/* oklch */ color: oklch(49.6% 0.207 300.4);
Tailwind
colors: {
  custom: {
    50: '#a572d6',
    500: '#7835c3',
    950: '#000000',
  },
}
SCSS
$custom: #7835c3;
$custom-light: #a572d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7835c3",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 268.31,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49649,
    "c": 0.20741,
    "h": 300.4
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#7835C3
secondary
#ACCC88
accent
#E14798
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7835C3

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

Preview Lab → · Contrast checker → · Palette generator →

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