#7C35BC#7C35BC

#7C35BC is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.201 H 303.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7C35BC
RGBrgb(124, 53, 188)
HSLhsl(272, 56%, 47%)
HSVhsv(272, 72%, 74%)
CMYKcmyk(34%, 71.8%, 0%, 26.3%)
CIE-LABlab(38.66, 55.00, -58.61)
CIE-LCHlch(38.66, 80.37, 313.18°)
OKLaboklab(49.57% 0.1119 -0.1668)
OKLCHoklch(49.57% 0.201 303.8)
XYZxyz(18.6603, 10.4622, 48.6035)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C35BC #75BC35
analogous
#3935BC #7C35BC #BC35B8
triadic
#7C35BC #BC7C35 #35BC7C
tetradic
#7C35BC #BC3935 #75BC35 #35B8BC
square
#7C35BC #BC3935 #75BC35 #35B8BC
split-complementary
#7C35BC #B8BC35 #35BC39
monochromatic
#3D1A5D #5D288C #7C35BC #9A5DD1 #B88DDF

Accessibility & contrast

On white

6.79
#7C35BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7C35BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C35BC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C35BC#FFFFFF#000000##FFFFFF
##7C35BC1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#6F5575
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c35bc;
/* rgb */ color: rgb(124, 53, 188);
/* oklch */ color: oklch(49.6% 0.201 303.8);
Tailwind
colors: {
  custom: {
    50: '#a772d1',
    500: '#7c35bc',
    950: '#000000',
  },
}
SCSS
$custom: #7c35bc;
$custom-light: #a772d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c35bc",
  "rgb": {
    "r": 124,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 271.556,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4957,
    "c": 0.20083,
    "h": 303.8
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#7C35BC
secondary
#A5C984
accent
#DF4890
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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