#7835C6#7835C6

#7835C6 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.211 H 299.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7835C6
RGBrgb(120, 53, 198)
HSLhsl(268, 58%, 49%)
HSVhsv(268, 73%, 78%)
CMYKcmyk(39.4%, 73.2%, 0%, 22.4%)
CIE-LABlab(38.93, 56.67, -64.05)
CIE-LCHlch(38.93, 85.52, 311.50°)
OKLaboklab(49.89% 0.1043 -0.1829)
OKLCHoklch(49.89% 0.211 299.7)
XYZxyz(19.2093, 10.6163, 54.4522)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835C6 #83C635
analogous
#353BC6 #7835C6 #C135C6
triadic
#7835C6 #C67835 #35C678
tetradic
#7835C6 #C6353B #83C635 #35C6C1
square
#7835C6 #C6353B #83C635 #35C6C1
split-complementary
#7835C6 #C6C135 #3BC635
monochromatic
#3D1B65 #5B2896 #7835C6 #9863D5 #B893E2

Accessibility & contrast

On white

6.72
#7835C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7835C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7835C6
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835C6#FFFFFF#000000##FFFFFF
##7835C61.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#005AC3
Tritanopia (blue-blind)
#665A7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7835c6;
/* rgb */ color: rgb(120, 53, 198);
/* oklch */ color: oklch(49.9% 0.211 299.7);
Tailwind
colors: {
  custom: {
    50: '#a673d8',
    500: '#7835c6',
    950: '#000000',
  },
}
SCSS
$custom: #7835c6;
$custom-light: #a673d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7835c6",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 267.724,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4989,
    "c": 0.21057,
    "h": 299.7
  },
  "luminance": 0.10616
}

Semantic roles & 50–950 ramp

primary
#7835C6
secondary
#AECD8A
accent
#E1479A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7835C6

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

Preview Lab → · Contrast checker → · Palette generator →

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