#7E35BD#7E35BD

#7E35BD is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.9% C 0.202 H 304.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7E35BD
RGBrgb(126, 53, 189)
HSLhsl(272, 56%, 47%)
HSVhsv(272, 72%, 74%)
CMYKcmyk(33.3%, 72%, 0%, 25.9%)
CIE-LABlab(38.99, 55.62, -58.64)
CIE-LCHlch(38.99, 80.82, 313.48°)
OKLaboklab(49.89% 0.1144 -0.1668)
OKLCHoklch(49.89% 0.202 304.5)
XYZxyz(19.0605, 10.6560, 49.1869)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35BD #74BD35
analogous
#3A35BD #7E35BD #BD35B8
triadic
#7E35BD #BD7E35 #35BD7E
tetradic
#7E35BD #BD3A35 #74BD35 #35B8BD
square
#7E35BD #BD3A35 #74BD35 #35B8BD
split-complementary
#7E35BD #B8BD35 #35BD3A
monochromatic
#3E1A5D #5E288D #7E35BD #9C5DD2 #B98DDF

Accessibility & contrast

On white

6.71
#7E35BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7E35BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E35BD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35BD#FFFFFF#000000##FFFFFF
##7E35BD1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#725576
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e35bd;
/* rgb */ color: rgb(126, 53, 189);
/* oklch */ color: oklch(49.9% 0.202 304.5);
Tailwind
colors: {
  custom: {
    50: '#a973d2',
    500: '#7e35bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e35bd;
$custom-light: #a973d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35bd",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 272.206,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49888,
    "c": 0.2023,
    "h": 304.5
  },
  "luminance": 0.10656
}

Semantic roles & 50–950 ramp

primary
#7E35BD
secondary
#A4CA84
accent
#DF488E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E35BD

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

Preview Lab → · Contrast checker → · Palette generator →

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