#7A35A2#7A35A2

#7A35A2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.173 H 310.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7A35A2
RGBrgb(122, 53, 162)
HSLhsl(278, 51%, 42%)
HSVhsv(278, 67%, 64%)
CMYKcmyk(24.7%, 67.3%, 0%, 36.5%)
CIE-LABlab(36.54, 48.56, -46.59)
CIE-LCHlch(36.54, 67.30, 316.19°)
OKLaboklab(47.42% 0.1125 -0.1315)
OKLCHoklch(47.42% 0.173 310.5)
XYZxyz(15.8195, 9.2928, 35.1357)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A35A2 #5DA235
analogous
#4435A2 #7A35A2 #A23594
triadic
#7A35A2 #A27A35 #35A27A
tetradic
#7A35A2 #A24435 #5DA235 #3594A2
square
#7A35A2 #A24435 #5DA235 #3594A2
split-complementary
#7A35A2 #94A235 #35A244
monochromatic
#351746 #572674 #7A35A2 #9A4FC5 #B47DD4

Accessibility & contrast

On white

7.35
#7A35A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7A35A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A35A2
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A35A2#FFFFFF#000000##FFFFFF
##7A35A21.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#2657A0
Tritanopia (blue-blind)
#754B67
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a35a2;
/* rgb */ color: rgb(122, 53, 162);
/* oklch */ color: oklch(47.4% 0.173 310.5);
Tailwind
colors: {
  custom: {
    50: '#a471be',
    500: '#7a35a2',
    950: '#000000',
  },
}
SCSS
$custom: #7a35a2;
$custom-light: #a471be;
$custom-dark: #000000;
JSON
{
  "hex": "#7a35a2",
  "rgb": {
    "r": 122,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 277.982,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47416,
    "c": 0.17309,
    "h": 310.5
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#7A35A2
secondary
#90BD75
accent
#DA4E81
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7A35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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