#7A35B6#7A35B6

#7A35B6 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.194 H 304.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7A35B6
RGBrgb(122, 53, 182)
HSLhsl(272, 55%, 46%)
HSVhsv(272, 71%, 71%)
CMYKcmyk(33%, 70.9%, 0%, 28.6%)
CIE-LABlab(37.95, 53.19, -56.23)
CIE-LCHlch(37.95, 77.41, 313.41°)
OKLaboklab(48.87% 0.1101 -0.1599)
OKLCHoklch(48.87% 0.194 304.5)
XYZxyz(17.7407, 10.0613, 45.2543)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A35B6 #71B635
analogous
#3935B6 #7A35B6 #B635B1
triadic
#7A35B6 #B67A35 #35B67A
tetradic
#7A35B6 #B63935 #71B635 #35B1B6
square
#7A35B6 #B63935 #71B635 #35B1B6
split-complementary
#7A35B6 #B1B635 #35B639
monochromatic
#3A1957 #5A2787 #7A35B6 #9859CF #B689DD

Accessibility & contrast

On white

6.97
#7A35B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7A35B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A35B6
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A35B6#FFFFFF#000000##FFFFFF
##7A35B61.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#6F5372
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a35b6;
/* rgb */ color: rgb(122, 53, 182);
/* oklch */ color: oklch(48.9% 0.194 304.5);
Tailwind
colors: {
  custom: {
    50: '#a572cd',
    500: '#7a35b6',
    950: '#000000',
  },
}
SCSS
$custom: #7a35b6;
$custom-light: #a572cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a35b6",
  "rgb": {
    "r": 122,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 272.093,
    "s": 54.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48871,
    "c": 0.19413,
    "h": 304.5
  },
  "luminance": 0.10061
}

Semantic roles & 50–950 ramp

primary
#7A35B6
secondary
#A1C780
accent
#DE4A8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A35B6

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

Preview Lab → · Contrast checker → · Palette generator →

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