#7F35AA#7F35AA

#7F35AA is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.183 H 310.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7F35AA
RGBrgb(127, 53, 170)
HSLhsl(278, 52%, 44%)
HSVhsv(278, 69%, 67%)
CMYKcmyk(25.3%, 68.8%, 0%, 33.3%)
CIE-LABlab(37.77, 51.47, -49.37)
CIE-LCHlch(37.77, 71.32, 316.20°)
OKLaboklab(48.62% 0.1185 -0.1395)
OKLCHoklch(48.62% 0.183 310.3)
XYZxyz(17.2798, 9.9609, 39.0348)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35AA #60AA35
analogous
#4535AA #7F35AA #AA359A
triadic
#7F35AA #AA7F35 #35AA7F
tetradic
#7F35AA #AA4535 #60AA35 #359AAA
square
#7F35AA #AA4535 #60AA35 #359AAA
split-complementary
#7F35AA #9AAA35 #35AA45
monochromatic
#39184D #5C267B #7F35AA #9E53C9 #B882D8

Accessibility & contrast

On white

7.02
#7F35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7F35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F35AA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35AA#FFFFFF#000000##FFFFFF
##7F35AA1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#235AA7
Tritanopia (blue-blind)
#794E6B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7f35aa;
/* rgb */ color: rgb(127, 53, 170);
/* oklch */ color: oklch(48.6% 0.183 310.3);
Tailwind
colors: {
  custom: {
    50: '#a872c4',
    500: '#7f35aa',
    950: '#000000',
  },
}
SCSS
$custom: #7f35aa;
$custom-light: #a872c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35aa",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 277.949,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48616,
    "c": 0.18304,
    "h": 310.3
  },
  "luminance": 0.09961
}

Semantic roles & 50–950 ramp

primary
#7F35AA
secondary
#94C17A
accent
#DC4C81
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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