#7F35AB#7F35AB

#7F35AB is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.184 H 310.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7F35AB
RGBrgb(127, 53, 171)
HSLhsl(278, 53%, 44%)
HSVhsv(278, 69%, 67%)
CMYKcmyk(25.7%, 69%, 0%, 32.9%)
CIE-LABlab(37.84, 51.70, -49.85)
CIE-LCHlch(37.84, 71.82, 316.04°)
OKLaboklab(48.69% 0.1184 -0.141)
OKLCHoklch(48.69% 0.184 310)
XYZxyz(17.3748, 9.9989, 39.5349)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F35AB #61AB35
analogous
#4435AB #7F35AB #AB359C
triadic
#7F35AB #AB7F35 #35AB7F
tetradic
#7F35AB #AB4435 #61AB35 #359CAB
square
#7F35AB #AB4435 #61AB35 #359CAB
split-complementary
#7F35AB #9CAB35 #35AB44
monochromatic
#3A184E #5C277C #7F35AB #9E53CA #B882D8

Accessibility & contrast

On white

7.00
#7F35AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7F35AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F35AB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F35AB#FFFFFF#000000##FFFFFF
##7F35AB1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#225AA8
Tritanopia (blue-blind)
#794E6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7f35ab;
/* rgb */ color: rgb(127, 53, 171);
/* oklch */ color: oklch(48.7% 0.184 310.0);
Tailwind
colors: {
  custom: {
    50: '#a872c5',
    500: '#7f35ab',
    950: '#000000',
  },
}
SCSS
$custom: #7f35ab;
$custom-light: #a872c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f35ab",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 277.627,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.18406,
    "h": 310
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#7F35AB
secondary
#95C27A
accent
#DC4C82
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F35AB

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

Preview Lab → · Contrast checker → · Palette generator →

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