#7F35AE#7F35AE

#7F35AE is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.187 H 309.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7F35AE
RGBrgb(127, 53, 174)
HSLhsl(277, 53%, 45%)
HSVhsv(277, 70%, 68%)
CMYKcmyk(27%, 69.5%, 0%, 31.8%)
CIE-LABlab(38.05, 52.37, -51.31)
CIE-LCHlch(38.05, 73.32, 315.59°)
OKLaboklab(48.9% 0.118 -0.1452)
OKLCHoklch(48.9% 0.187 309.1)
XYZxyz(17.6639, 10.1145, 41.0580)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35AE #64AE35
analogous
#4235AE #7F35AE #AE35A1
triadic
#7F35AE #AE7F35 #35AE7F
tetradic
#7F35AE #AE4235 #64AE35 #35A1AE
square
#7F35AE #AE4235 #64AE35 #35A1AE
split-complementary
#7F35AE #A1AE35 #35AE42
monochromatic
#3B1850 #5D277F #7F35AE #9D55CB #B884DA

Accessibility & contrast

On white

6.95
#7F35AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7F35AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F35AE
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35AE#FFFFFF#000000##FFFFFF
##7F35AE1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#1D5BAB
Tritanopia (blue-blind)
#784F6D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f35ae;
/* rgb */ color: rgb(127, 53, 174);
/* oklch */ color: oklch(48.9% 0.187 309.1);
Tailwind
colors: {
  custom: {
    50: '#a872c7',
    500: '#7f35ae',
    950: '#000000',
  },
}
SCSS
$custom: #7f35ae;
$custom-light: #a872c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35ae",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 276.694,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.489,
    "c": 0.18713,
    "h": 309.1
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

primary
#7F35AE
secondary
#97C37C
accent
#DD4B84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F35AE

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

Preview Lab → · Contrast checker → · Palette generator →

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