#7D35A8#7D35A8

#7D35A8 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.180 H 310.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7D35A8
RGBrgb(125, 53, 168)
HSLhsl(278, 52%, 43%)
HSVhsv(278, 68%, 66%)
CMYKcmyk(25.6%, 68.5%, 0%, 34.1%)
CIE-LABlab(37.36, 50.59, -48.85)
CIE-LCHlch(37.36, 70.32, 316.00°)
OKLaboklab(48.22% 0.116 -0.1381)
OKLCHoklch(48.22% 0.18 310)
XYZxyz(16.7971, 9.7337, 38.0321)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D35A8 #60A835
analogous
#4335A8 #7D35A8 #A83599
triadic
#7D35A8 #A87D35 #35A87D
tetradic
#7D35A8 #A84335 #60A835 #3599A8
square
#7D35A8 #A84335 #60A835 #3599A8
split-complementary
#7D35A8 #99A835 #35A843
monochromatic
#38184B #5A2679 #7D35A8 #9C52C8 #B780D7

Accessibility & contrast

On white

7.13
#7D35A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7D35A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D35A8
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D35A8#FFFFFF#000000##FFFFFF
##7D35A81.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#2359A5
Tritanopia (blue-blind)
#774D6A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d35a8;
/* rgb */ color: rgb(125, 53, 168);
/* oklch */ color: oklch(48.2% 0.180 310.0);
Tailwind
colors: {
  custom: {
    50: '#a672c2',
    500: '#7d35a8',
    950: '#000000',
  },
}
SCSS
$custom: #7d35a8;
$custom-light: #a672c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d35a8",
  "rgb": {
    "r": 125,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 277.565,
    "s": 52.036,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4822,
    "c": 0.18033,
    "h": 310
  },
  "luminance": 0.09733
}

Semantic roles & 50–950 ramp

primary
#7D35A8
secondary
#93C078
accent
#DB4C82
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D35A8

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

Preview Lab → · Contrast checker → · Palette generator →

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