#7D35B8#7D35B8

#7D35B8 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.197 H 305.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7D35B8
RGBrgb(125, 53, 184)
HSLhsl(273, 55%, 46%)
HSVhsv(273, 71%, 72%)
CMYKcmyk(32.1%, 71.2%, 0%, 27.8%)
CIE-LABlab(38.49, 54.26, -56.52)
CIE-LCHlch(38.49, 78.35, 313.83°)
OKLaboklab(49.39% 0.1139 -0.1606)
OKLCHoklch(49.39% 0.197 305.3)
XYZxyz(18.3804, 10.3670, 46.3708)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D35B8 #70B835
analogous
#3C35B8 #7D35B8 #B835B2
triadic
#7D35B8 #B87D35 #35B87D
tetradic
#7D35B8 #B83C35 #70B835 #35B2B8
square
#7D35B8 #B83C35 #70B835 #35B2B8
split-complementary
#7D35B8 #B2B835 #35B83C
monochromatic
#3C1A59 #5D2788 #7D35B8 #9B5BD0 #B88ADD

Accessibility & contrast

On white

6.83
#7D35B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7D35B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D35B8
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D35B8#FFFFFF#000000##FFFFFF
##7D35B81.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#725473
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d35b8;
/* rgb */ color: rgb(125, 53, 184);
/* oklch */ color: oklch(49.4% 0.197 305.3);
Tailwind
colors: {
  custom: {
    50: '#a872ce',
    500: '#7d35b8',
    950: '#000000',
  },
}
SCSS
$custom: #7d35b8;
$custom-light: #a872ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d35b8",
  "rgb": {
    "r": 125,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 272.977,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49387,
    "c": 0.19691,
    "h": 305.3
  },
  "luminance": 0.10367
}

Semantic roles & 50–950 ramp

primary
#7D35B8
secondary
#A1C781
accent
#DF498C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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