#7E46D5#7E46D5

#7E46D5 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.208 H 296.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7E46D5
RGBrgb(126, 70, 213)
HSLhsl(263, 63%, 55%)
HSVhsv(263, 67%, 84%)
CMYKcmyk(40.8%, 67.1%, 0%, 16.5%)
CIE-LABlab(43.68, 53.43, -64.95)
CIE-LCHlch(43.68, 84.10, 309.44°)
OKLaboklab(53.79% 0.0935 -0.1855)
OKLCHoklch(53.79% 0.208 296.8)
XYZxyz(22.8015, 13.6196, 64.3654)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E46D5 #9DD546
analogous
#4655D5 #7E46D5 #C646D5
triadic
#7E46D5 #D57E46 #46D57E
tetradic
#7E46D5 #D54655 #9DD546 #46D5C6
square
#7E46D5 #D54655 #9DD546 #46D5C6
split-complementary
#7E46D5 #D5C646 #55D546
monochromatic
#451E83 #6029B5 #7E46D5 #A178E0 #C4AAEC

Accessibility & contrast

On white

5.64
#7E46D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7E46D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E46D5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E46D5#FFFFFF#000000##FFFFFF
##7E46D51.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#686888
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e46d5;
/* rgb */ color: rgb(126, 70, 213);
/* oklch */ color: oklch(53.8% 0.208 296.8);
Tailwind
colors: {
  custom: {
    50: '#aa7de3',
    500: '#7e46d5',
    950: '#000000',
  },
}
SCSS
$custom: #7e46d5;
$custom-light: #aa7de3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e46d5",
  "rgb": {
    "r": 126,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 263.497,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53791,
    "c": 0.2077,
    "h": 296.8
  },
  "luminance": 0.1362
}

Semantic roles & 50–950 ramp

primary
#7E46D5
secondary
#C2D99E
accent
#E642A6
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E46D5

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

Preview Lab → · Contrast checker → · Palette generator →

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