#7E35BE#7E35BE

#7E35BE is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.203 H 304.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7E35BE
RGBrgb(126, 53, 190)
HSLhsl(272, 56%, 48%)
HSVhsv(272, 72%, 75%)
CMYKcmyk(33.7%, 72.1%, 0%, 25.5%)
CIE-LABlab(39.07, 55.85, -59.11)
CIE-LCHlch(39.07, 81.32, 313.38°)
OKLaboklab(49.96% 0.1143 -0.1682)
OKLCHoklch(49.96% 0.203 304.2)
XYZxyz(19.1694, 10.6996, 49.7606)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35BE #75BE35
analogous
#3935BE #7E35BE #BE35B9
triadic
#7E35BE #BE7E35 #35BE7E
tetradic
#7E35BE #BE3935 #75BE35 #35B9BE
square
#7E35BE #BE3935 #75BE35 #35B9BE
split-complementary
#7E35BE #B9BE35 #35BE39
monochromatic
#3F1A5E #5E288E #7E35BE #9C5ED2 #B98EDF

Accessibility & contrast

On white

6.69
#7E35BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7E35BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E35BE
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35BE#FFFFFF#000000##FFFFFF
##7E35BE1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#725676
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e35be;
/* rgb */ color: rgb(126, 53, 190);
/* oklch */ color: oklch(50.0% 0.203 304.2);
Tailwind
colors: {
  custom: {
    50: '#a973d2',
    500: '#7e35be',
    950: '#000000',
  },
}
SCSS
$custom: #7e35be;
$custom-light: #a973d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35be",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 271.971,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49964,
    "c": 0.20333,
    "h": 304.2
  },
  "luminance": 0.107
}

Semantic roles & 50–950 ramp

primary
#7E35BE
secondary
#A5CA85
accent
#E0488F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E35BE

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

Preview Lab → · Contrast checker → · Palette generator →

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