#7D35C1#7D35C1

#7D35C1 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.206 H 303.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7D35C1
RGBrgb(125, 53, 193)
HSLhsl(271, 57%, 48%)
HSVhsv(271, 73%, 76%)
CMYKcmyk(35.2%, 72.5%, 0%, 24.3%)
CIE-LABlab(39.17, 56.37, -60.71)
CIE-LCHlch(39.17, 82.84, 312.88°)
OKLaboklab(50.08% 0.1123 -0.1729)
OKLCHoklch(50.08% 0.206 303)
XYZxyz(19.3539, 10.7564, 51.4983)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D35C1 #79C135
analogous
#3735C1 #7D35C1 #C135BF
triadic
#7D35C1 #C17D35 #35C17D
tetradic
#7D35C1 #C13735 #79C135 #35BFC1
square
#7D35C1 #C13735 #79C135 #35BFC1
split-complementary
#7D35C1 #BFC135 #35C137
monochromatic
#3F1B61 #5E2891 #7D35C1 #9B60D3 #B990E0

Accessibility & contrast

On white

6.66
#7D35C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7D35C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D35C1
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D35C1#FFFFFF#000000##FFFFFF
##7D35C11.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#6F5778
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d35c1;
/* rgb */ color: rgb(125, 53, 193);
/* oklch */ color: oklch(50.1% 0.206 303.0);
Tailwind
colors: {
  custom: {
    50: '#a873d5',
    500: '#7d35c1',
    950: '#000000',
  },
}
SCSS
$custom: #7d35c1;
$custom-light: #a873d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d35c1",
  "rgb": {
    "r": 125,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 270.857,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50076,
    "c": 0.20621,
    "h": 303
  },
  "luminance": 0.10756
}

Semantic roles & 50–950 ramp

primary
#7D35C1
secondary
#A8CB87
accent
#E04892
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D35C1

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

Preview Lab → · Contrast checker → · Palette generator →

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