#7E46D2#7E46D2

#7E46D2 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.204 H 297.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7E46D2
RGBrgb(126, 70, 210)
HSLhsl(264, 61%, 55%)
HSVhsv(264, 67%, 82%)
CMYKcmyk(40%, 66.7%, 0%, 17.6%)
CIE-LABlab(43.46, 52.66, -63.59)
CIE-LCHlch(43.46, 82.56, 309.63°)
OKLaboklab(53.56% 0.0939 -0.1814)
OKLCHoklch(53.56% 0.204 297.4)
XYZxyz(22.4242, 13.4687, 62.3785)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E46D2 #9AD246
analogous
#4654D2 #7E46D2 #C446D2
triadic
#7E46D2 #D27E46 #46D27E
tetradic
#7E46D2 #D24654 #9AD246 #46D2C4
square
#7E46D2 #D24654 #9AD246 #46D2C4
split-complementary
#7E46D2 #D2C446 #54D246
monochromatic
#451F7F #602BB0 #7E46D2 #A077DE #C3A8EA

Accessibility & contrast

On white

5.69
#7E46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7E46D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E46D2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E46D2#FFFFFF#000000##FFFFFF
##7E46D21.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#696786
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e46d2;
/* rgb */ color: rgb(126, 70, 210);
/* oklch */ color: oklch(53.6% 0.204 297.4);
Tailwind
colors: {
  custom: {
    50: '#aa7de1',
    500: '#7e46d2',
    950: '#000000',
  },
}
SCSS
$custom: #7e46d2;
$custom-light: #aa7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e46d2",
  "rgb": {
    "r": 126,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 264,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53563,
    "c": 0.20431,
    "h": 297.4
  },
  "luminance": 0.13469
}

Semantic roles & 50–950 ramp

primary
#7E46D2
secondary
#C0D79C
accent
#E444A4
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7E46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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