#7C35AF#7C35AF

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

Color values

HEX#7C35AF
RGBrgb(124, 53, 175)
HSLhsl(275, 54%, 45%)
HSVhsv(275, 70%, 69%)
CMYKcmyk(29.1%, 69.7%, 0%, 31.4%)
CIE-LABlab(37.71, 51.97, -52.47)
CIE-LCHlch(37.71, 73.85, 314.73°)
OKLaboklab(48.6% 0.1138 -0.1487)
OKLCHoklch(48.6% 0.187 307.4)
XYZxyz(17.3215, 9.9267, 41.5527)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C35AF #68AF35
analogous
#3F35AF #7C35AF #AF35A5
triadic
#7C35AF #AF7C35 #35AF7C
tetradic
#7C35AF #AF3F35 #68AF35 #35A5AF
square
#7C35AF #AF3F35 #68AF35 #35A5AF
split-complementary
#7C35AF #A5AF35 #35AF3F
monochromatic
#391951 #5B2780 #7C35AF #9A56CC #B685DA

Accessibility & contrast

On white

7.03
#7C35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7C35AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C35AF
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C35AF#FFFFFF#000000##FFFFFF
##7C35AF1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#1459AC
Tritanopia (blue-blind)
#74506E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c35af;
/* rgb */ color: rgb(124, 53, 175);
/* oklch */ color: oklch(48.6% 0.187 307.4);
Tailwind
colors: {
  custom: {
    50: '#a672c8',
    500: '#7c35af',
    950: '#000000',
  },
}
SCSS
$custom: #7c35af;
$custom-light: #a672c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c35af",
  "rgb": {
    "r": 124,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 274.918,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48596,
    "c": 0.1873,
    "h": 307.4
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

primary
#7C35AF
secondary
#9AC47C
accent
#DD4B88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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