#7A35AB#7A35AB

#7A35AB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.1% C 0.183 H 307.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7A35AB
RGBrgb(122, 53, 171)
HSLhsl(275, 53%, 44%)
HSVhsv(275, 69%, 67%)
CMYKcmyk(28.7%, 69%, 0%, 32.9%)
CIE-LABlab(37.16, 50.62, -50.99)
CIE-LCHlch(37.16, 71.85, 314.79°)
OKLaboklab(48.06% 0.1116 -0.1445)
OKLCHoklch(48.06% 0.183 307.7)
XYZxyz(16.6483, 9.6243, 39.5008)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A35AB #66AB35
analogous
#3F35AB #7A35AB #AB35A1
triadic
#7A35AB #AB7A35 #35AB7A
tetradic
#7A35AB #AB3F35 #66AB35 #35A1AB
square
#7A35AB #AB3F35 #66AB35 #35A1AB
split-complementary
#7A35AB #A1AB35 #35AB3F
monochromatic
#37184E #59277C #7A35AB #9953CA #B582D8

Accessibility & contrast

On white

7.18
#7A35AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A35AB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A35AB#FFFFFF#000000##FFFFFF
##7A35AB1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#1858A8
Tritanopia (blue-blind)
#724F6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7a35ab;
/* rgb */ color: rgb(122, 53, 171);
/* oklch */ color: oklch(48.1% 0.183 307.7);
Tailwind
colors: {
  custom: {
    50: '#a572c5',
    500: '#7a35ab',
    950: '#000000',
  },
}
SCSS
$custom: #7a35ab;
$custom-light: #a572c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a35ab",
  "rgb": {
    "r": 122,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 275.085,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48055,
    "c": 0.18256,
    "h": 307.7
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#7A35AB
secondary
#98C27A
accent
#DC4C88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A35AB

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

Preview Lab → · Contrast checker → · Palette generator →

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