#7F35C4#7F35C4

#7F35C4 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.210 H 303.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7F35C4
RGBrgb(127, 53, 196)
HSLhsl(271, 57%, 49%)
HSVhsv(271, 73%, 77%)
CMYKcmyk(35.2%, 73%, 0%, 23.1%)
CIE-LABlab(39.65, 57.44, -61.66)
CIE-LCHlch(39.65, 84.27, 312.97°)
OKLaboklab(50.55% 0.1145 -0.1757)
OKLCHoklch(50.55% 0.21 303.1)
XYZxyz(19.9870, 11.0438, 53.2925)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35C4 #7AC435
analogous
#3835C4 #7F35C4 #C435C2
triadic
#7F35C4 #C47F35 #35C47F
tetradic
#7F35C4 #C43835 #7AC435 #35C2C4
square
#7F35C4 #C43835 #7AC435 #35C2C4
split-complementary
#7F35C4 #C2C435 #35C438
monochromatic
#411B64 #602894 #7F35C4 #9D62D4 #BB92E1

Accessibility & contrast

On white

6.54
#7F35C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7F35C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F35C4
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35C4#FFFFFF#000000##FFFFFF
##7F35C41.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#71587A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f35c4;
/* rgb */ color: rgb(127, 53, 196);
/* oklch */ color: oklch(50.5% 0.210 303.1);
Tailwind
colors: {
  custom: {
    50: '#aa73d7',
    500: '#7f35c4',
    950: '#000000',
  },
}
SCSS
$custom: #7f35c4;
$custom-light: #aa73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35c4",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 271.049,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50548,
    "c": 0.2097,
    "h": 303.1
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

primary
#7F35C4
secondary
#A9CC88
accent
#E14791
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F35C4

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

Preview Lab → · Contrast checker → · Palette generator →

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