#7A35AA#7A35AA

#7A35AA is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.181 H 308.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7A35AA
RGBrgb(122, 53, 170)
HSLhsl(275, 52%, 44%)
HSVhsv(275, 69%, 67%)
CMYKcmyk(28.2%, 68.8%, 0%, 33.3%)
CIE-LABlab(37.09, 50.39, -50.50)
CIE-LCHlch(37.09, 71.34, 314.94°)
OKLaboklab(47.98% 0.1117 -0.143)
OKLCHoklch(47.98% 0.182 308)
XYZxyz(16.5533, 9.5863, 39.0007)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A35AA #65AA35
analogous
#4035AA #7A35AA #AA359F
triadic
#7A35AA #AA7A35 #35AA7A
tetradic
#7A35AA #AA4035 #65AA35 #359FAA
square
#7A35AA #AA4035 #65AA35 #359FAA
split-complementary
#7A35AA #9FAA35 #35AA40
monochromatic
#37184D #59267B #7A35AA #9953C9 #B482D8

Accessibility & contrast

On white

7.20
#7A35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7A35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A35AA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A35AA#FFFFFF#000000##FFFFFF
##7A35AA1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#1A58A7
Tritanopia (blue-blind)
#724F6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7a35aa;
/* rgb */ color: rgb(122, 53, 170);
/* oklch */ color: oklch(48.0% 0.181 308.0);
Tailwind
colors: {
  custom: {
    50: '#a572c4',
    500: '#7a35aa',
    950: '#000000',
  },
}
SCSS
$custom: #7a35aa;
$custom-light: #a572c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a35aa",
  "rgb": {
    "r": 122,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 275.385,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47983,
    "c": 0.1815,
    "h": 308
  },
  "luminance": 0.09586
}

Semantic roles & 50–950 ramp

primary
#7A35AA
secondary
#97C17A
accent
#DC4C87
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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