#7C35A2#7C35A2

#7C35A2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.174 H 311.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7C35A2
RGBrgb(124, 53, 162)
HSLhsl(279, 51%, 42%)
HSVhsv(279, 67%, 64%)
CMYKcmyk(23.5%, 67.3%, 0%, 36.5%)
CIE-LABlab(36.82, 49.02, -46.13)
CIE-LCHlch(36.82, 67.31, 316.74°)
OKLaboklab(47.67% 0.1152 -0.1301)
OKLCHoklch(47.67% 0.174 311.5)
XYZxyz(16.1057, 9.4403, 35.1492)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C35A2 #5BA235
analogous
#4635A2 #7C35A2 #A23591
triadic
#7C35A2 #A27C35 #35A27C
tetradic
#7C35A2 #A24635 #5BA235 #3591A2
square
#7C35A2 #A24635 #5BA235 #3591A2
split-complementary
#7C35A2 #91A235 #35A246
monochromatic
#351746 #592674 #7C35A2 #9C4FC5 #B67DD4

Accessibility & contrast

On white

7.27
#7C35A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7C35A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C35A2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C35A2#FFFFFF#000000##FFFFFF
##7C35A21.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#2958A0
Tritanopia (blue-blind)
#774B67
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7c35a2;
/* rgb */ color: rgb(124, 53, 162);
/* oklch */ color: oklch(47.7% 0.174 311.5);
Tailwind
colors: {
  custom: {
    50: '#a571be',
    500: '#7c35a2',
    950: '#000000',
  },
}
SCSS
$custom: #7c35a2;
$custom-light: #a571be;
$custom-dark: #000000;
JSON
{
  "hex": "#7c35a2",
  "rgb": {
    "r": 124,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 279.083,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47673,
    "c": 0.17378,
    "h": 311.5
  },
  "luminance": 0.0944
}

Semantic roles & 50–950 ramp

primary
#7C35A2
secondary
#8EBD75
accent
#DA4E7F
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7C35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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