#7A35BA#7A35BA

#7A35BA is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.2% C 0.198 H 303.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7A35BA
RGBrgb(122, 53, 186)
HSLhsl(271, 56%, 47%)
HSVhsv(271, 72%, 73%)
CMYKcmyk(34.4%, 71.5%, 0%, 27.1%)
CIE-LABlab(38.25, 54.14, -58.11)
CIE-LCHlch(38.25, 79.42, 312.98°)
OKLaboklab(49.18% 0.1094 -0.1654)
OKLCHoklch(49.18% 0.198 303.5)
XYZxyz(18.1600, 10.2290, 47.4625)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A35BA #75BA35
analogous
#3835BA #7A35BA #BA35B8
triadic
#7A35BA #BA7A35 #35BA7A
tetradic
#7A35BA #BA3835 #75BA35 #35B8BA
square
#7A35BA #BA3835 #75BA35 #35B8BA
split-complementary
#7A35BA #B8BA35 #35BA38
monochromatic
#3C1A5B #5B278A #7A35BA #985CD0 #B68BDE

Accessibility & contrast

On white

6.89
#7A35BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7A35BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A35BA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A35BA#FFFFFF#000000##FFFFFF
##7A35BA1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#6D5574
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a35ba;
/* rgb */ color: rgb(122, 53, 186);
/* oklch */ color: oklch(49.2% 0.198 303.5);
Tailwind
colors: {
  custom: {
    50: '#a672d0',
    500: '#7a35ba',
    950: '#000000',
  },
}
SCSS
$custom: #7a35ba;
$custom-light: #a672d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a35ba",
  "rgb": {
    "r": 122,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 271.128,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49176,
    "c": 0.19832,
    "h": 303.5
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#7A35BA
secondary
#A4C882
accent
#DF4991
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A35BA

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

Preview Lab → · Contrast checker → · Palette generator →

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