#7C35AA#7C35AA

#7C35AA is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.182 H 308.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7C35AA
RGBrgb(124, 53, 170)
HSLhsl(276, 52%, 44%)
HSVhsv(276, 69%, 67%)
CMYKcmyk(27.1%, 68.8%, 0%, 33.3%)
CIE-LABlab(37.36, 50.82, -50.05)
CIE-LCHlch(37.36, 71.33, 315.44°)
OKLaboklab(48.23% 0.1144 -0.1416)
OKLCHoklch(48.23% 0.182 308.9)
XYZxyz(16.8395, 9.7339, 39.0141)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C35AA #63AA35
analogous
#4135AA #7C35AA #AA359D
triadic
#7C35AA #AA7C35 #35AA7C
tetradic
#7C35AA #AA4135 #63AA35 #359DAA
square
#7C35AA #AA4135 #63AA35 #359DAA
split-complementary
#7C35AA #9DAA35 #35AA41
monochromatic
#38184D #5A267B #7C35AA #9B53C9 #B682D8

Accessibility & contrast

On white

7.13
#7C35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7C35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C35AA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C35AA#FFFFFF#000000##FFFFFF
##7C35AA1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#1E59A7
Tritanopia (blue-blind)
#754E6B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7c35aa;
/* rgb */ color: rgb(124, 53, 170);
/* oklch */ color: oklch(48.2% 0.182 308.9);
Tailwind
colors: {
  custom: {
    50: '#a672c4',
    500: '#7c35aa',
    950: '#000000',
  },
}
SCSS
$custom: #7c35aa;
$custom-light: #a672c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c35aa",
  "rgb": {
    "r": 124,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 276.41,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48234,
    "c": 0.1821,
    "h": 308.9
  },
  "luminance": 0.09734
}

Semantic roles & 50–950 ramp

primary
#7C35AA
secondary
#96C17A
accent
#DC4C85
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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