#7E35B8#7E35B8

#7E35B8 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.5% C 0.197 H 305.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7E35B8
RGBrgb(126, 53, 184)
HSLhsl(273, 55%, 46%)
HSVhsv(273, 71%, 72%)
CMYKcmyk(31.5%, 71.2%, 0%, 27.8%)
CIE-LABlab(38.63, 54.45, -56.30)
CIE-LCHlch(38.63, 78.32, 314.05°)
OKLaboklab(49.51% 0.1153 -0.1599)
OKLCHoklch(49.51% 0.197 305.8)
XYZxyz(18.5271, 10.4427, 46.3777)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35B8 #6FB835
analogous
#3D35B8 #7E35B8 #B835B1
triadic
#7E35B8 #B87E35 #35B87E
tetradic
#7E35B8 #B83D35 #6FB835 #35B1B8
square
#7E35B8 #B83D35 #6FB835 #35B1B8
split-complementary
#7E35B8 #B1B835 #35B83D
monochromatic
#3D1A59 #5D2788 #7E35B8 #9C5BD0 #B88ADD

Accessibility & contrast

On white

6.80
#7E35B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7E35B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E35B8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35B8#FFFFFF#000000##FFFFFF
##7E35B81.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#745373
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e35b8;
/* rgb */ color: rgb(126, 53, 184);
/* oklch */ color: oklch(49.5% 0.197 305.8);
Tailwind
colors: {
  custom: {
    50: '#a872ce',
    500: '#7e35b8',
    950: '#000000',
  },
}
SCSS
$custom: #7e35b8;
$custom-light: #a872ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35b8",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 273.435,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49509,
    "c": 0.19716,
    "h": 305.8
  },
  "luminance": 0.10443
}

Semantic roles & 50–950 ramp

primary
#7E35B8
secondary
#A0C781
accent
#DF498B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7E35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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