#7D35C2#7D35C2

#7D35C2 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.2% C 0.207 H 302.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7D35C2
RGBrgb(125, 53, 194)
HSLhsl(271, 57%, 48%)
HSVhsv(271, 73%, 76%)
CMYKcmyk(35.6%, 72.7%, 0%, 23.9%)
CIE-LABlab(39.24, 56.60, -61.17)
CIE-LCHlch(39.24, 83.34, 312.78°)
OKLaboklab(50.15% 0.1121 -0.1743)
OKLCHoklch(50.15% 0.207 302.8)
XYZxyz(19.4659, 10.8012, 52.0878)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D35C2 #7AC235
analogous
#3635C2 #7D35C2 #C235C0
triadic
#7D35C2 #C27D35 #35C27D
tetradic
#7D35C2 #C23635 #7AC235 #35C0C2
square
#7D35C2 #C23635 #7AC235 #35C0C2
split-complementary
#7D35C2 #C0C235 #35C236
monochromatic
#3F1B62 #5E2892 #7D35C2 #9B60D4 #BA91E1

Accessibility & contrast

On white

6.65
#7D35C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7D35C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D35C2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D35C2#FFFFFF#000000##FFFFFF
##7D35C21.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#6F5879
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d35c2;
/* rgb */ color: rgb(125, 53, 194);
/* oklch */ color: oklch(50.2% 0.207 302.8);
Tailwind
colors: {
  custom: {
    50: '#a873d5',
    500: '#7d35c2',
    950: '#000000',
  },
}
SCSS
$custom: #7d35c2;
$custom-light: #a873d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d35c2",
  "rgb": {
    "r": 125,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 270.638,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.20724,
    "h": 302.8
  },
  "luminance": 0.10801
}

Semantic roles & 50–950 ramp

primary
#7D35C2
secondary
#A9CC87
accent
#E04792
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D35C2

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

Preview Lab → · Contrast checker → · Palette generator →

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