#7C35C1#7C35C1

#7C35C1 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.206 H 302.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7C35C1
RGBrgb(124, 53, 193)
HSLhsl(270, 57%, 48%)
HSVhsv(270, 73%, 76%)
CMYKcmyk(35.8%, 72.5%, 0%, 24.3%)
CIE-LABlab(39.04, 56.18, -60.93)
CIE-LCHlch(39.04, 82.88, 312.68°)
OKLaboklab(49.96% 0.1109 -0.1736)
OKLCHoklch(49.96% 0.206 302.6)
XYZxyz(19.2086, 10.6815, 51.4915)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C35C1 #7AC135
analogous
#3635C1 #7C35C1 #C135C0
triadic
#7C35C1 #C17C35 #35C17C
tetradic
#7C35C1 #C13635 #7AC135 #35C0C1
square
#7C35C1 #C13635 #7AC135 #35C0C1
split-complementary
#7C35C1 #C0C135 #35C136
monochromatic
#3E1B61 #5D2891 #7C35C1 #9A60D3 #B990E0

Accessibility & contrast

On white

6.70
#7C35C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7C35C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C35C1
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C35C1#FFFFFF#000000##FFFFFF
##7C35C11.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#6E5778
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c35c1;
/* rgb */ color: rgb(124, 53, 193);
/* oklch */ color: oklch(50.0% 0.206 302.6);
Tailwind
colors: {
  custom: {
    50: '#a873d5',
    500: '#7c35c1',
    950: '#000000',
  },
}
SCSS
$custom: #7c35c1;
$custom-light: #a873d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c35c1",
  "rgb": {
    "r": 124,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 270.429,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49958,
    "c": 0.20602,
    "h": 302.6
  },
  "luminance": 0.10682
}

Semantic roles & 50–950 ramp

primary
#7C35C1
secondary
#A8CB87
accent
#E04893
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C35C1

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

Preview Lab → · Contrast checker → · Palette generator →

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