#7A35D2#7A35D2

#7A35D2 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.1% C 0.223 H 297.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7A35D2
RGBrgb(122, 53, 210)
HSLhsl(266, 64%, 52%)
HSVhsv(266, 75%, 82%)
CMYKcmyk(41.9%, 74.8%, 0%, 17.6%)
CIE-LABlab(40.14, 59.94, -69.02)
CIE-LCHlch(40.14, 91.41, 310.97°)
OKLaboklab(51.1% 0.1044 -0.1974)
OKLCHoklch(51.1% 0.223 297.9)
XYZxyz(20.9290, 11.3366, 62.0458)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A35D2 #8DD235
analogous
#353FD2 #7A35D2 #C835D2
triadic
#7A35D2 #D27A35 #35D27A
tetradic
#7A35D2 #D2353F #8DD235 #35D2C8
square
#7A35D2 #D2353F #8DD235 #35D2C8
split-complementary
#7A35D2 #D2C835 #3FD235
monochromatic
#411A73 #5D25A5 #7A35D2 #9B67DD #BC99E8

Accessibility & contrast

On white

6.43
#7A35D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7A35D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A35D2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A35D2#FFFFFF#000000##FFFFFF
##7A35D21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#645E82
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a35d2;
/* rgb */ color: rgb(122, 53, 210);
/* oklch */ color: oklch(51.1% 0.223 297.9);
Tailwind
colors: {
  custom: {
    50: '#a873e1',
    500: '#7a35d2',
    950: '#000000',
  },
}
SCSS
$custom: #7a35d2;
$custom-light: #a873e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a35d2",
  "rgb": {
    "r": 122,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 266.369,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51101,
    "c": 0.22334,
    "h": 297.9
  },
  "luminance": 0.11337
}

Semantic roles & 50–950 ramp

primary
#7A35D2
secondary
#B6D48F
accent
#E7419E
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7A35D2

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

Preview Lab → · Contrast checker → · Palette generator →

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