#7C35B2#7C35B2

#7C35B2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.8% C 0.190 H 306.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7C35B2
RGBrgb(124, 53, 178)
HSLhsl(274, 54%, 45%)
HSVhsv(274, 70%, 70%)
CMYKcmyk(30.3%, 70.2%, 0%, 30.2%)
CIE-LABlab(37.92, 52.66, -53.90)
CIE-LCHlch(37.92, 75.35, 314.33°)
OKLaboklab(48.82% 0.1134 -0.1529)
OKLCHoklch(48.82% 0.19 306.6)
XYZxyz(17.6194, 10.0458, 43.1217)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C35B2 #6BB235
analogous
#3D35B2 #7C35B2 #B235AA
triadic
#7C35B2 #B27C35 #35B27C
tetradic
#7C35B2 #B23D35 #6BB235 #35AAB2
square
#7C35B2 #B23D35 #6BB235 #35AAB2
split-complementary
#7C35B2 #AAB235 #35B23D
monochromatic
#3A1954 #5B2783 #7C35B2 #9A57CD #B686DB

Accessibility & contrast

On white

6.98
#7C35B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7C35B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C35B2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C35B2#FFFFFF#000000##FFFFFF
##7C35B21.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0A5AAF
Tritanopia (blue-blind)
#735170
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c35b2;
/* rgb */ color: rgb(124, 53, 178);
/* oklch */ color: oklch(48.8% 0.190 306.6);
Tailwind
colors: {
  custom: {
    50: '#a672ca',
    500: '#7c35b2',
    950: '#000000',
  },
}
SCSS
$custom: #7c35b2;
$custom-light: #a672ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7c35b2",
  "rgb": {
    "r": 124,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 274.08,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48816,
    "c": 0.19043,
    "h": 306.6
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#7C35B2
secondary
#9DC57E
accent
#DD4A8A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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