#7A35B8#7A35B8

#7A35B8 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.0% C 0.196 H 304.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7A35B8
RGBrgb(122, 53, 184)
HSLhsl(272, 55%, 46%)
HSVhsv(272, 71%, 72%)
CMYKcmyk(33.7%, 71.2%, 0%, 27.8%)
CIE-LABlab(38.10, 53.67, -57.17)
CIE-LCHlch(38.10, 78.42, 313.19°)
OKLaboklab(49.02% 0.1098 -0.1626)
OKLCHoklch(49.02% 0.196 304)
XYZxyz(17.9489, 10.1445, 46.3506)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A35B8 #73B835
analogous
#3935B8 #7A35B8 #B835B5
triadic
#7A35B8 #B87A35 #35B87A
tetradic
#7A35B8 #B83935 #73B835 #35B5B8
square
#7A35B8 #B83935 #73B835 #35B5B8
split-complementary
#7A35B8 #B5B835 #35B839
monochromatic
#3B1A59 #5A2788 #7A35B8 #985BD0 #B68ADD

Accessibility & contrast

On white

6.93
#7A35B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7A35B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A35B8
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A35B8#FFFFFF#000000##FFFFFF
##7A35B81.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a35b8;
/* rgb */ color: rgb(122, 53, 184);
/* oklch */ color: oklch(49.0% 0.196 304.0);
Tailwind
colors: {
  custom: {
    50: '#a672ce',
    500: '#7a35b8',
    950: '#000000',
  },
}
SCSS
$custom: #7a35b8;
$custom-light: #a672ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7a35b8",
  "rgb": {
    "r": 122,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 271.603,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49023,
    "c": 0.19623,
    "h": 304
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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