#7A35B9#7A35B9

#7A35B9 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.197 H 303.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7A35B9
RGBrgb(122, 53, 185)
HSLhsl(271, 55%, 47%)
HSVhsv(271, 71%, 73%)
CMYKcmyk(34.1%, 71.4%, 0%, 27.5%)
CIE-LABlab(38.18, 53.91, -57.64)
CIE-LCHlch(38.18, 78.92, 313.08°)
OKLaboklab(49.1% 0.1096 -0.164)
OKLCHoklch(49.1% 0.197 303.7)
XYZxyz(18.0541, 10.1866, 46.9046)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A35B9 #74B935
analogous
#3835B9 #7A35B9 #B935B6
triadic
#7A35B9 #B97A35 #35B97A
tetradic
#7A35B9 #B93835 #74B935 #35B6B9
square
#7A35B9 #B93835 #74B935 #35B6B9
split-complementary
#7A35B9 #B6B935 #35B938
monochromatic
#3B1A5A #5B2789 #7A35B9 #985BD0 #B68BDE

Accessibility & contrast

On white

6.91
#7A35B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7A35B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A35B9
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A35B9#FFFFFF#000000##FFFFFF
##7A35B91.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#6E5473
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a35b9;
/* rgb */ color: rgb(122, 53, 185);
/* oklch */ color: oklch(49.1% 0.197 303.7);
Tailwind
colors: {
  custom: {
    50: '#a672cf',
    500: '#7a35b9',
    950: '#000000',
  },
}
SCSS
$custom: #7a35b9;
$custom-light: #a672cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a35b9",
  "rgb": {
    "r": 122,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 271.364,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.491,
    "c": 0.19728,
    "h": 303.7
  },
  "luminance": 0.10187
}

Semantic roles & 50–950 ramp

primary
#7A35B9
secondary
#A3C882
accent
#DF4990
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A35B9

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

Preview Lab → · Contrast checker → · Palette generator →

#7A35B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva