#7835C2#7835C2

#7835C2 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.206 H 300.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7835C2
RGBrgb(120, 53, 194)
HSLhsl(269, 57%, 48%)
HSVhsv(269, 73%, 76%)
CMYKcmyk(38.1%, 72.7%, 0%, 23.9%)
CIE-LABlab(38.61, 55.70, -62.23)
CIE-LCHlch(38.61, 83.51, 311.83°)
OKLaboklab(49.57% 0.1051 -0.1776)
OKLCHoklch(49.57% 0.206 300.6)
XYZxyz(18.7540, 10.4342, 52.0544)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835C2 #7FC235
analogous
#3538C2 #7835C2 #BE35C2
triadic
#7835C2 #C27835 #35C278
tetradic
#7835C2 #C23538 #7FC235 #35C2BE
square
#7835C2 #C23538 #7FC235 #35C2BE
split-complementary
#7835C2 #C2BE35 #38C235
monochromatic
#3D1B62 #5A2892 #7835C2 #9760D4 #B791E1

Accessibility & contrast

On white

6.80
#7835C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7835C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7835C2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835C2#FFFFFF#000000##FFFFFF
##7835C21.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#675878
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7835c2;
/* rgb */ color: rgb(120, 53, 194);
/* oklch */ color: oklch(49.6% 0.206 300.6);
Tailwind
colors: {
  custom: {
    50: '#a572d5',
    500: '#7835c2',
    950: '#000000',
  },
}
SCSS
$custom: #7835c2;
$custom-light: #a572d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7835c2",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 268.511,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49569,
    "c": 0.20636,
    "h": 300.6
  },
  "luminance": 0.10434
}

Semantic roles & 50–950 ramp

primary
#7835C2
secondary
#ABCC87
accent
#E04798
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7835C2

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

Preview Lab → · Contrast checker → · Palette generator →

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