#7F35C6#7F35C6

#7F35C6 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.212 H 302.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7F35C6
RGBrgb(127, 53, 198)
HSLhsl(271, 58%, 49%)
HSVhsv(271, 73%, 78%)
CMYKcmyk(35.9%, 73.2%, 0%, 22.4%)
CIE-LABlab(39.81, 57.91, -62.58)
CIE-LCHlch(39.81, 85.26, 312.78°)
OKLaboklab(50.71% 0.1141 -0.1784)
OKLCHoklch(50.71% 0.212 302.6)
XYZxyz(20.2161, 11.1354, 54.4994)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35C6 #7CC635
analogous
#3735C6 #7F35C6 #C635C5
triadic
#7F35C6 #C67F35 #35C67F
tetradic
#7F35C6 #C63735 #7CC635 #35C5C6
square
#7F35C6 #C63735 #7CC635 #35C5C6
split-complementary
#7F35C6 #C5C635 #35C637
monochromatic
#411B65 #602896 #7F35C6 #9D63D5 #BC93E2

Accessibility & contrast

On white

6.51
#7F35C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7F35C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F35C6
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35C6#FFFFFF#000000##FFFFFF
##7F35C61.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#70597B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f35c6;
/* rgb */ color: rgb(127, 53, 198);
/* oklch */ color: oklch(50.7% 0.212 302.6);
Tailwind
colors: {
  custom: {
    50: '#aa73d8',
    500: '#7f35c6',
    950: '#000000',
  },
}
SCSS
$custom: #7f35c6;
$custom-light: #aa73d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35c6",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 270.621,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50705,
    "c": 0.21175,
    "h": 302.6
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#7F35C6
secondary
#ABCD8A
accent
#E14792
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #7F35C6

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

Preview Lab → · Contrast checker → · Palette generator →

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