#7835C5#7835C5

#7835C5 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.210 H 299.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7835C5
RGBrgb(120, 53, 197)
HSLhsl(268, 58%, 49%)
HSVhsv(268, 73%, 77%)
CMYKcmyk(39.1%, 73.1%, 0%, 22.7%)
CIE-LABlab(38.85, 56.43, -63.60)
CIE-LCHlch(38.85, 85.02, 311.58°)
OKLaboklab(49.81% 0.1045 -0.1816)
OKLCHoklch(49.81% 0.21 299.9)
XYZxyz(19.0944, 10.5703, 53.8468)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835C5 #82C535
analogous
#353AC5 #7835C5 #C035C5
triadic
#7835C5 #C57835 #35C578
tetradic
#7835C5 #C5353A #82C535 #35C5C0
square
#7835C5 #C5353A #82C535 #35C5C0
split-complementary
#7835C5 #C5C035 #3AC535
monochromatic
#3D1B65 #5B2895 #7835C5 #9862D5 #B793E2

Accessibility & contrast

On white

6.74
#7835C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7835C5
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835C5#FFFFFF#000000##FFFFFF
##7835C51.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#66597A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7835c5;
/* rgb */ color: rgb(120, 53, 197);
/* oklch */ color: oklch(49.8% 0.210 299.9);
Tailwind
colors: {
  custom: {
    50: '#a572d8',
    500: '#7835c5',
    950: '#000000',
  },
}
SCSS
$custom: #7835c5;
$custom-light: #a572d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7835c5",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 267.917,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4981,
    "c": 0.20951,
    "h": 299.9
  },
  "luminance": 0.1057
}

Semantic roles & 50–950 ramp

primary
#7835C5
secondary
#ADCD89
accent
#E14799
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7835C5

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

Preview Lab → · Contrast checker → · Palette generator →

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