#7C35C2#7C35C2

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

Color values

HEX#7C35C2
RGBrgb(124, 53, 194)
HSLhsl(270, 57%, 48%)
HSVhsv(270, 73%, 76%)
CMYKcmyk(36.1%, 72.7%, 0%, 23.9%)
CIE-LABlab(39.12, 56.42, -61.38)
CIE-LCHlch(39.12, 83.38, 312.59°)
OKLaboklab(50.04% 0.1107 -0.175)
OKLCHoklch(50.04% 0.207 302.3)
XYZxyz(19.3206, 10.7263, 52.0810)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C35C2 #7BC235
analogous
#3635C2 #7C35C2 #C235C1
triadic
#7C35C2 #C27C35 #35C27C
tetradic
#7C35C2 #C23635 #7BC235 #35C1C2
square
#7C35C2 #C23635 #7BC235 #35C1C2
split-complementary
#7C35C2 #C1C235 #35C236
monochromatic
#3F1B62 #5D2892 #7C35C2 #9B60D4 #B991E1

Accessibility & contrast

On white

6.68
#7C35C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C35C2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C35C2#FFFFFF#000000##FFFFFF
##7C35C21.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c35c2;
/* rgb */ color: rgb(124, 53, 194);
/* oklch */ color: oklch(50.0% 0.207 302.3);
Tailwind
colors: {
  custom: {
    50: '#a873d5',
    500: '#7c35c2',
    950: '#000000',
  },
}
SCSS
$custom: #7c35c2;
$custom-light: #a873d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c35c2",
  "rgb": {
    "r": 124,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 270.213,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50036,
    "c": 0.20706,
    "h": 302.3
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

primary
#7C35C2
secondary
#A9CC87
accent
#E04793
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C35C2

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

Preview Lab → · Contrast checker → · Palette generator →

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