#7C35B8#7C35B8

#7C35B8 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.3% C 0.197 H 304.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7C35B8
RGBrgb(124, 53, 184)
HSLhsl(273, 55%, 46%)
HSVhsv(273, 71%, 72%)
CMYKcmyk(32.6%, 71.2%, 0%, 27.8%)
CIE-LABlab(38.36, 54.06, -56.74)
CIE-LCHlch(38.36, 78.37, 313.61°)
OKLaboklab(49.27% 0.1125 -0.1613)
OKLCHoklch(49.27% 0.197 304.9)
XYZxyz(18.2351, 10.2921, 46.3640)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C35B8 #71B835
analogous
#3B35B8 #7C35B8 #B835B3
triadic
#7C35B8 #B87C35 #35B87C
tetradic
#7C35B8 #B83B35 #71B835 #35B3B8
square
#7C35B8 #B83B35 #71B835 #35B3B8
split-complementary
#7C35B8 #B3B835 #35B83B
monochromatic
#3C1A59 #5C2788 #7C35B8 #9A5BD0 #B78ADD

Accessibility & contrast

On white

6.87
#7C35B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7C35B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C35B8
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C35B8#FFFFFF#000000##FFFFFF
##7C35B81.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#715473
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c35b8;
/* rgb */ color: rgb(124, 53, 184);
/* oklch */ color: oklch(49.3% 0.197 304.9);
Tailwind
colors: {
  custom: {
    50: '#a772ce',
    500: '#7c35b8',
    950: '#000000',
  },
}
SCSS
$custom: #7c35b8;
$custom-light: #a772ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7c35b8",
  "rgb": {
    "r": 124,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 272.519,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49265,
    "c": 0.19667,
    "h": 304.9
  },
  "luminance": 0.10292
}

Semantic roles & 50–950 ramp

primary
#7C35B8
secondary
#A1C781
accent
#DF498E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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