#7D35B5#7D35B5

#7D35B5 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.2% C 0.194 H 306.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7D35B5
RGBrgb(125, 53, 181)
HSLhsl(274, 55%, 46%)
HSVhsv(274, 71%, 71%)
CMYKcmyk(30.9%, 70.7%, 0%, 29%)
CIE-LABlab(38.27, 53.56, -55.10)
CIE-LCHlch(38.27, 76.84, 314.19°)
OKLaboklab(49.16% 0.1144 -0.1565)
OKLCHoklch(49.16% 0.194 306.2)
XYZxyz(18.0692, 10.2425, 44.7322)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D35B5 #6DB535
analogous
#3D35B5 #7D35B5 #B535AD
triadic
#7D35B5 #B57D35 #35B57D
tetradic
#7D35B5 #B53D35 #6DB535 #35ADB5
square
#7D35B5 #B53D35 #6DB535 #35ADB5
split-complementary
#7D35B5 #ADB535 #35B53D
monochromatic
#3C1956 #5C2786 #7D35B5 #9B59CE #B788DC

Accessibility & contrast

On white

6.89
#7D35B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7D35B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D35B5
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D35B5#FFFFFF#000000##FFFFFF
##7D35B51.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#025AB2
Tritanopia (blue-blind)
#735271
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d35b5;
/* rgb */ color: rgb(125, 53, 181);
/* oklch */ color: oklch(49.2% 0.194 306.2);
Tailwind
colors: {
  custom: {
    50: '#a772cc',
    500: '#7d35b5',
    950: '#000000',
  },
}
SCSS
$custom: #7d35b5;
$custom-light: #a772cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d35b5",
  "rgb": {
    "r": 125,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 273.75,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49162,
    "c": 0.1938,
    "h": 306.2
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#7D35B5
secondary
#9EC680
accent
#DE4A8B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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