#7E35B3#7E35B3

#7E35B3 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.192 H 307.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7E35B3
RGBrgb(126, 53, 179)
HSLhsl(275, 54%, 45%)
HSVhsv(275, 70%, 70%)
CMYKcmyk(29.6%, 70.4%, 0%, 29.8%)
CIE-LABlab(38.26, 53.30, -53.93)
CIE-LCHlch(38.26, 75.82, 314.66°)
OKLaboklab(49.14% 0.116 -0.153)
OKLCHoklch(49.14% 0.192 307.2)
XYZxyz(18.0122, 10.2367, 43.6661)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35B3 #6AB335
analogous
#3F35B3 #7E35B3 #B335A9
triadic
#7E35B3 #B37E35 #35B37E
tetradic
#7E35B3 #B33F35 #6AB335 #35A9B3
square
#7E35B3 #B33F35 #6AB335 #35A9B3
split-complementary
#7E35B3 #A9B335 #35B33F
monochromatic
#3C1955 #5D2784 #7E35B3 #9C58CD #B887DB

Accessibility & contrast

On white

6.89
#7E35B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7E35B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E35B3
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35B3#FFFFFF#000000##FFFFFF
##7E35B31.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#0E5BB0
Tritanopia (blue-blind)
#755170
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e35b3;
/* rgb */ color: rgb(126, 53, 179);
/* oklch */ color: oklch(49.1% 0.192 307.2);
Tailwind
colors: {
  custom: {
    50: '#a872ca',
    500: '#7e35b3',
    950: '#000000',
  },
}
SCSS
$custom: #7e35b3;
$custom-light: #a872ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35b3",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 274.762,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.19199,
    "h": 307.2
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#7E35B3
secondary
#9CC57F
accent
#DE4A88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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