#7C35C3#7C35C3

#7C35C3 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.208 H 302.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7C35C3
RGBrgb(124, 53, 195)
HSLhsl(270, 57%, 49%)
HSVhsv(270, 73%, 76%)
CMYKcmyk(36.4%, 72.8%, 0%, 23.5%)
CIE-LABlab(39.19, 56.66, -61.84)
CIE-LCHlch(39.19, 83.87, 312.50°)
OKLaboklab(50.11% 0.1105 -0.1763)
OKLCHoklch(50.11% 0.208 302.1)
XYZxyz(19.4333, 10.7714, 52.6744)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C35C3 #7CC335
analogous
#3535C3 #7C35C3 #C335C3
triadic
#7C35C3 #C37C35 #35C37C
tetradic
#7C35C3 #C33535 #7CC335 #35C3C3
square
#7C35C3 #C33535 #7CC335 #35C3C3
split-complementary
#7C35C3 #C3C335 #35C335
monochromatic
#3F1B63 #5D2893 #7C35C3 #9B61D4 #B991E1

Accessibility & contrast

On white

6.66
#7C35C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7C35C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C35C3
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C35C3#FFFFFF#000000##FFFFFF
##7C35C31.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#6D5879
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c35c3;
/* rgb */ color: rgb(124, 53, 195);
/* oklch */ color: oklch(50.1% 0.208 302.1);
Tailwind
colors: {
  custom: {
    50: '#a873d6',
    500: '#7c35c3',
    950: '#000000',
  },
}
SCSS
$custom: #7c35c3;
$custom-light: #a873d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c35c3",
  "rgb": {
    "r": 124,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 270,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50115,
    "c": 0.2081,
    "h": 302.1
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#7C35C3
secondary
#AACC88
accent
#E14794
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C35C3

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

Preview Lab → · Contrast checker → · Palette generator →

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