#7E35BB#7E35BB

#7E35BB is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.7% C 0.200 H 305.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7E35BB
RGBrgb(126, 53, 187)
HSLhsl(273, 56%, 47%)
HSVhsv(273, 72%, 73%)
CMYKcmyk(32.6%, 71.7%, 0%, 26.7%)
CIE-LABlab(38.85, 55.15, -57.71)
CIE-LCHlch(38.85, 79.82, 313.70°)
OKLaboklab(49.74% 0.1148 -0.1641)
OKLCHoklch(49.74% 0.2 305)
XYZxyz(18.8449, 10.5698, 48.0515)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35BB #72BB35
analogous
#3B35BB #7E35BB #BB35B5
triadic
#7E35BB #BB7E35 #35BB7E
tetradic
#7E35BB #BB3B35 #72BB35 #35B5BB
square
#7E35BB #BB3B35 #72BB35 #35B5BB
split-complementary
#7E35BB #B5BB35 #35BB3B
monochromatic
#3E1A5C #5E278B #7E35BB #9C5CD1 #B98CDE

Accessibility & contrast

On white

6.74
#7E35BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7E35BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E35BB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35BB#FFFFFF#000000##FFFFFF
##7E35BB1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#735575
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e35bb;
/* rgb */ color: rgb(126, 53, 187);
/* oklch */ color: oklch(49.7% 0.200 305.0);
Tailwind
colors: {
  custom: {
    50: '#a873d0',
    500: '#7e35bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e35bb;
$custom-light: #a873d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35bb",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 272.687,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49736,
    "c": 0.20025,
    "h": 305
  },
  "luminance": 0.1057
}

Semantic roles & 50–950 ramp

primary
#7E35BB
secondary
#A3C983
accent
#DF498D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7E35BB

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

Preview Lab → · Contrast checker → · Palette generator →

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