#7E35BF#7E35BF

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

Color values

HEX#7E35BF
RGBrgb(126, 53, 191)
HSLhsl(272, 57%, 48%)
HSVhsv(272, 72%, 75%)
CMYKcmyk(34%, 72.3%, 0%, 25.1%)
CIE-LABlab(39.15, 56.08, -59.57)
CIE-LCHlch(39.15, 81.82, 313.27°)
OKLaboklab(50.04% 0.1141 -0.1695)
OKLCHoklch(50.04% 0.204 303.9)
XYZxyz(19.2791, 10.7435, 50.3381)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35BF #76BF35
analogous
#3935BF #7E35BF #BF35BB
triadic
#7E35BF #BF7E35 #35BF7E
tetradic
#7E35BF #BF3935 #76BF35 #35BBBF
square
#7E35BF #BF3935 #76BF35 #35BBBF
split-complementary
#7E35BF #BBBF35 #35BF39
monochromatic
#3F1A5F #5E288F #7E35BF #9C5FD3 #BA8FE0

Accessibility & contrast

On white

6.67
#7E35BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7E35BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E35BF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35BF#FFFFFF#000000##FFFFFF
##7E35BF1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#715677
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e35bf;
/* rgb */ color: rgb(126, 53, 191);
/* oklch */ color: oklch(50.0% 0.204 303.9);
Tailwind
colors: {
  custom: {
    50: '#a973d3',
    500: '#7e35bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e35bf;
$custom-light: #a973d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35bf",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 271.739,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50041,
    "c": 0.20436,
    "h": 303.9
  },
  "luminance": 0.10743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E35BF

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

Preview Lab → · Contrast checker → · Palette generator →

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