#7A35B2#7A35B2

#7A35B2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.190 H 305.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7A35B2
RGBrgb(122, 53, 178)
HSLhsl(273, 54%, 45%)
HSVhsv(273, 70%, 70%)
CMYKcmyk(31.5%, 70.2%, 0%, 30.2%)
CIE-LABlab(37.66, 52.25, -54.34)
CIE-LCHlch(37.66, 75.39, 313.88°)
OKLaboklab(48.57% 0.1107 -0.1543)
OKLCHoklch(48.57% 0.19 305.7)
XYZxyz(17.3333, 9.8983, 43.1083)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A35B2 #6DB235
analogous
#3B35B2 #7A35B2 #B235AC
triadic
#7A35B2 #B27A35 #35B27A
tetradic
#7A35B2 #B23B35 #6DB235 #35ACB2
square
#7A35B2 #B23B35 #6DB235 #35ACB2
split-complementary
#7A35B2 #ACB235 #35B23B
monochromatic
#391954 #5A2783 #7A35B2 #9857CD #B586DB

Accessibility & contrast

On white

7.05
#7A35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7A35B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A35B2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A35B2#FFFFFF#000000##FFFFFF
##7A35B21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0259AF
Tritanopia (blue-blind)
#705270
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a35b2;
/* rgb */ color: rgb(122, 53, 178);
/* oklch */ color: oklch(48.6% 0.190 305.7);
Tailwind
colors: {
  custom: {
    50: '#a572ca',
    500: '#7a35b2',
    950: '#000000',
  },
}
SCSS
$custom: #7a35b2;
$custom-light: #a572ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7a35b2",
  "rgb": {
    "r": 122,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 273.12,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4857,
    "c": 0.18992,
    "h": 305.7
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#7A35B2
secondary
#9EC57E
accent
#DD4A8C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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