#7F35AC#7F35AC

#7F35AC is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.8% C 0.185 H 309.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7F35AC
RGBrgb(127, 53, 172)
HSLhsl(277, 53%, 44%)
HSVhsv(277, 69%, 67%)
CMYKcmyk(26.2%, 69.2%, 0%, 32.5%)
CIE-LABlab(37.91, 51.92, -50.34)
CIE-LCHlch(37.91, 72.32, 315.89°)
OKLaboklab(48.76% 0.1182 -0.1424)
OKLCHoklch(48.76% 0.185 309.7)
XYZxyz(17.4704, 10.0371, 40.0388)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35AC #62AC35
analogous
#4435AC #7F35AC #AC359E
triadic
#7F35AC #AC7F35 #35AC7F
tetradic
#7F35AC #AC4435 #62AC35 #359EAC
square
#7F35AC #AC4435 #62AC35 #359EAC
split-complementary
#7F35AC #9EAC35 #35AC44
monochromatic
#3A184E #5C277D #7F35AC #9E54CA #B883D9

Accessibility & contrast

On white

6.98
#7F35AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7F35AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F35AC
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35AC#FFFFFF#000000##FFFFFF
##7F35AC1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#205AA9
Tritanopia (blue-blind)
#794F6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7f35ac;
/* rgb */ color: rgb(127, 53, 172);
/* oklch */ color: oklch(48.8% 0.185 309.7);
Tailwind
colors: {
  custom: {
    50: '#a872c5',
    500: '#7f35ac',
    950: '#000000',
  },
}
SCSS
$custom: #7f35ac;
$custom-light: #a872c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35ac",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 277.311,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48758,
    "c": 0.18508,
    "h": 309.7
  },
  "luminance": 0.10037
}

Semantic roles & 50–950 ramp

primary
#7F35AC
secondary
#96C27B
accent
#DC4C82
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F35AC

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

Preview Lab → · Contrast checker → · Palette generator →

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