#7835C4#7835C4

#7835C4 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.208 H 300.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7835C4
RGBrgb(120, 53, 196)
HSLhsl(268, 57%, 49%)
HSVhsv(268, 73%, 77%)
CMYKcmyk(38.8%, 73%, 0%, 23.1%)
CIE-LABlab(38.77, 56.18, -63.14)
CIE-LCHlch(38.77, 84.52, 311.66°)
OKLaboklab(49.73% 0.1047 -0.1803)
OKLCHoklch(49.73% 0.208 300.2)
XYZxyz(18.9802, 10.5246, 53.2453)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835C4 #81C435
analogous
#3539C4 #7835C4 #C035C4
triadic
#7835C4 #C47835 #35C478
tetradic
#7835C4 #C43539 #81C435 #35C4C0
square
#7835C4 #C43539 #81C435 #35C4C0
split-complementary
#7835C4 #C4C035 #39C435
monochromatic
#3D1B64 #5B2894 #7835C4 #9762D4 #B792E1

Accessibility & contrast

On white

6.76
#7835C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7835C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7835C4
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835C4#FFFFFF#000000##FFFFFF
##7835C41.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#67597A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7835c4;
/* rgb */ color: rgb(120, 53, 196);
/* oklch */ color: oklch(49.7% 0.208 300.2);
Tailwind
colors: {
  custom: {
    50: '#a572d7',
    500: '#7835c4',
    950: '#000000',
  },
}
SCSS
$custom: #7835c4;
$custom-light: #a572d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7835c4",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 268.112,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.20847,
    "h": 300.2
  },
  "luminance": 0.10525
}

Semantic roles & 50–950 ramp

primary
#7835C4
secondary
#ADCC88
accent
#E14799
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7835C4

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

Preview Lab → · Contrast checker → · Palette generator →

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