#7E46BD#7E46BD

#7E46BD is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.180 H 302.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7E46BD
RGBrgb(126, 70, 189)
HSLhsl(268, 47%, 51%)
HSVhsv(268, 63%, 74%)
CMYKcmyk(33.3%, 63%, 0%, 25.9%)
CIE-LABlab(41.98, 47.35, -53.80)
CIE-LCHlch(41.98, 71.67, 311.35°)
OKLaboklab(52.03% 0.096 -0.1527)
OKLCHoklch(52.03% 0.18 302.1)
XYZxyz(19.9775, 12.4900, 49.4926)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E46BD #85BD46
analogous
#4649BD #7E46BD #B946BD
triadic
#7E46BD #BD7E46 #46BD7E
tetradic
#7E46BD #BD4649 #85BD46 #46BDB9
square
#7E46BD #BD4649 #85BD46 #46BDB9
split-complementary
#7E46BD #BDB946 #49BD46
monochromatic
#422465 #603492 #7E46BD #9D73CD #BDA0DD

Accessibility & contrast

On white

6.00
#7E46BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7E46BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E46BD
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E46BD#FFFFFF#000000##FFFFFF
##7E46BD1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#1E63BA
Tritanopia (blue-blind)
#71607B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7e46bd;
/* rgb */ color: rgb(126, 70, 189);
/* oklch */ color: oklch(52.0% 0.180 302.1);
Tailwind
colors: {
  custom: {
    50: '#a87cd2',
    500: '#7e46bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e46bd;
$custom-light: #a87cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e46bd",
  "rgb": {
    "r": 126,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 268.235,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52031,
    "c": 0.18033,
    "h": 302.1
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#7E46BD
secondary
#B1CA95
accent
#D75198
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7E46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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