#7C35BA#7C35BA

#7C35BA is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.199 H 304.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7C35BA
RGBrgb(124, 53, 186)
HSLhsl(272, 56%, 47%)
HSVhsv(272, 72%, 73%)
CMYKcmyk(33.3%, 71.5%, 0%, 27.1%)
CIE-LABlab(38.51, 54.53, -57.68)
CIE-LCHlch(38.51, 79.37, 313.39°)
OKLaboklab(49.42% 0.1122 -0.1641)
OKLCHoklch(49.42% 0.199 304.4)
XYZxyz(18.4462, 10.3765, 47.4759)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C35BA #73BA35
analogous
#3935BA #7C35BA #BA35B6
triadic
#7C35BA #BA7C35 #35BA7C
tetradic
#7C35BA #BA3935 #73BA35 #35B6BA
square
#7C35BA #BA3935 #73BA35 #35B6BA
split-complementary
#7C35BA #B6BA35 #35BA39
monochromatic
#3C1A5B #5C278A #7C35BA #9A5CD0 #B78BDE

Accessibility & contrast

On white

6.83
#7C35BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7C35BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C35BA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C35BA#FFFFFF#000000##FFFFFF
##7C35BA1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#705574
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c35ba;
/* rgb */ color: rgb(124, 53, 186);
/* oklch */ color: oklch(49.4% 0.199 304.4);
Tailwind
colors: {
  custom: {
    50: '#a772d0',
    500: '#7c35ba',
    950: '#000000',
  },
}
SCSS
$custom: #7c35ba;
$custom-light: #a772d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c35ba",
  "rgb": {
    "r": 124,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 272.03,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.19876,
    "h": 304.4
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#7C35BA
secondary
#A3C882
accent
#DF498F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C35BA

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

Preview Lab → · Contrast checker → · Palette generator →

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