#7F35C5#7F35C5

#7F35C5 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.211 H 302.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7F35C5
RGBrgb(127, 53, 197)
HSLhsl(271, 58%, 49%)
HSVhsv(271, 73%, 77%)
CMYKcmyk(35.5%, 73.1%, 0%, 22.7%)
CIE-LABlab(39.73, 57.68, -62.12)
CIE-LCHlch(39.73, 84.77, 312.88°)
OKLaboklab(50.63% 0.1143 -0.177)
OKLCHoklch(50.63% 0.211 302.9)
XYZxyz(20.1012, 11.0894, 53.8940)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35C5 #7BC535
analogous
#3735C5 #7F35C5 #C535C3
triadic
#7F35C5 #C57F35 #35C57F
tetradic
#7F35C5 #C53735 #7BC535 #35C3C5
square
#7F35C5 #C53735 #7BC535 #35C3C5
split-complementary
#7F35C5 #C3C535 #35C537
monochromatic
#411B65 #602895 #7F35C5 #9D62D5 #BB93E2

Accessibility & contrast

On white

6.53
#7F35C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7F35C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F35C5
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35C5#FFFFFF#000000##FFFFFF
##7F35C51.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#71597A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f35c5;
/* rgb */ color: rgb(127, 53, 197);
/* oklch */ color: oklch(50.6% 0.211 302.9);
Tailwind
colors: {
  custom: {
    50: '#aa73d8',
    500: '#7f35c5',
    950: '#000000',
  },
}
SCSS
$custom: #7f35c5;
$custom-light: #aa73d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35c5",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 270.833,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50627,
    "c": 0.21072,
    "h": 302.9
  },
  "luminance": 0.11089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F35C5

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

Preview Lab → · Contrast checker → · Palette generator →

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