#7E46D4#7E46D4

#7E46D4 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.207 H 297.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7E46D4
RGBrgb(126, 70, 212)
HSLhsl(264, 62%, 55%)
HSVhsv(264, 67%, 83%)
CMYKcmyk(40.6%, 67%, 0%, 16.9%)
CIE-LABlab(43.61, 53.17, -64.50)
CIE-LCHlch(43.61, 83.59, 309.50°)
OKLaboklab(53.72% 0.0936 -0.1841)
OKLCHoklch(53.72% 0.207 297)
XYZxyz(22.6749, 13.5690, 63.6990)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E46D4 #9CD446
analogous
#4655D4 #7E46D4 #C546D4
triadic
#7E46D4 #D47E46 #46D47E
tetradic
#7E46D4 #D44655 #9CD446 #46D4C5
square
#7E46D4 #D44655 #9CD446 #46D4C5
split-complementary
#7E46D4 #D4C546 #55D446
monochromatic
#451E81 #602AB3 #7E46D4 #A178E0 #C3A9EB

Accessibility & contrast

On white

5.65
#7E46D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7E46D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E46D4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E46D4#FFFFFF#000000##FFFFFF
##7E46D41.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#686887
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e46d4;
/* rgb */ color: rgb(126, 70, 212);
/* oklch */ color: oklch(53.7% 0.207 297.0);
Tailwind
colors: {
  custom: {
    50: '#aa7de2',
    500: '#7e46d4',
    950: '#000000',
  },
}
SCSS
$custom: #7e46d4;
$custom-light: #aa7de2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e46d4",
  "rgb": {
    "r": 126,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 263.662,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.20656,
    "h": 297
  },
  "luminance": 0.13569
}

Semantic roles & 50–950 ramp

primary
#7E46D4
secondary
#C1D99D
accent
#E542A5
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #7E46D4

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

Preview Lab → · Contrast checker → · Palette generator →

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