#7C35BB#7C35BB

#7C35BB is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.5% C 0.200 H 304.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7C35BB
RGBrgb(124, 53, 187)
HSLhsl(272, 56%, 47%)
HSVhsv(272, 72%, 73%)
CMYKcmyk(33.7%, 71.7%, 0%, 26.7%)
CIE-LABlab(38.58, 54.76, -58.14)
CIE-LCHlch(38.58, 79.87, 313.29°)
OKLaboklab(49.49% 0.112 -0.1654)
OKLCHoklch(49.49% 0.2 304.1)
XYZxyz(18.5529, 10.4192, 48.0378)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C35BB #74BB35
analogous
#3935BB #7C35BB #BB35B7
triadic
#7C35BB #BB7C35 #35BB7C
tetradic
#7C35BB #BB3935 #74BB35 #35B7BB
square
#7C35BB #BB3935 #74BB35 #35B7BB
split-complementary
#7C35BB #B7BB35 #35BB39
monochromatic
#3D1A5C #5C278B #7C35BB #9A5CD1 #B88CDE

Accessibility & contrast

On white

6.81
#7C35BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C35BB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C35BB#FFFFFF#000000##FFFFFF
##7C35BB1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#705575
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c35bb;
/* rgb */ color: rgb(124, 53, 187);
/* oklch */ color: oklch(49.5% 0.200 304.1);
Tailwind
colors: {
  custom: {
    50: '#a772d0',
    500: '#7c35bb',
    950: '#000000',
  },
}
SCSS
$custom: #7c35bb;
$custom-light: #a772d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c35bb",
  "rgb": {
    "r": 124,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 271.791,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49493,
    "c": 0.19979,
    "h": 304.1
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C35BB

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

Preview Lab → · Contrast checker → · Palette generator →

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