#7A35BC#7A35BC

#7A35BC is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.200 H 303.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7A35BC
RGBrgb(122, 53, 188)
HSLhsl(271, 56%, 47%)
HSVhsv(271, 72%, 74%)
CMYKcmyk(35.1%, 71.8%, 0%, 26.3%)
CIE-LABlab(38.40, 54.62, -59.04)
CIE-LCHlch(38.40, 80.43, 312.77°)
OKLaboklab(49.33% 0.1091 -0.1681)
OKLCHoklch(49.33% 0.2 303)
XYZxyz(18.3741, 10.3146, 48.5901)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A35BC #77BC35
analogous
#3735BC #7A35BC #BC35BB
triadic
#7A35BC #BC7A35 #35BC7A
tetradic
#7A35BC #BC3735 #77BC35 #35BBBC
square
#7A35BC #BC3735 #77BC35 #35BBBC
split-complementary
#7A35BC #BBBC35 #35BC37
monochromatic
#3C1A5D #5B288C #7A35BC #985DD1 #B78DDF

Accessibility & contrast

On white

6.86
#7A35BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7A35BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A35BC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A35BC#FFFFFF#000000##FFFFFF
##7A35BC1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#6D5675
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a35bc;
/* rgb */ color: rgb(122, 53, 188);
/* oklch */ color: oklch(49.3% 0.200 303.0);
Tailwind
colors: {
  custom: {
    50: '#a672d1',
    500: '#7a35bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a35bc;
$custom-light: #a672d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a35bc",
  "rgb": {
    "r": 122,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 270.667,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49331,
    "c": 0.20042,
    "h": 303
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#7A35BC
secondary
#A6C984
accent
#DF4892
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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