#7E46D0#7E46D0

#7E46D0 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.4% C 0.202 H 297.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7E46D0
RGBrgb(126, 70, 208)
HSLhsl(264, 59%, 55%)
HSVhsv(264, 66%, 82%)
CMYKcmyk(39.4%, 66.3%, 0%, 18.4%)
CIE-LABlab(43.32, 52.15, -62.67)
CIE-LCHlch(43.32, 81.53, 309.76°)
OKLaboklab(53.41% 0.0942 -0.1788)
OKLCHoklch(53.41% 0.202 297.8)
XYZxyz(22.1766, 13.3697, 61.0745)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E46D0 #98D046
analogous
#4653D0 #7E46D0 #C346D0
triadic
#7E46D0 #D07E46 #46D07E
tetradic
#7E46D0 #D04653 #98D046 #46D0C3
square
#7E46D0 #D04653 #98D046 #46D0C3
split-complementary
#7E46D0 #D0C346 #53D046
monochromatic
#45207C #602CAD #7E46D0 #A077DC #C2A8E9

Accessibility & contrast

On white

5.72
#7E46D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7E46D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E46D0
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E46D0#FFFFFF#000000##FFFFFF
##7E46D01.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D4
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#6A6685
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e46d0;
/* rgb */ color: rgb(126, 70, 208);
/* oklch */ color: oklch(53.4% 0.202 297.8);
Tailwind
colors: {
  custom: {
    50: '#a97ddf',
    500: '#7e46d0',
    950: '#000000',
  },
}
SCSS
$custom: #7e46d0;
$custom-light: #a97ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e46d0",
  "rgb": {
    "r": 126,
    "g": 70,
    "b": 208
  },
  "hsl": {
    "h": 264.348,
    "s": 59.483,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53412,
    "c": 0.20204,
    "h": 297.8
  },
  "luminance": 0.1337
}

Semantic roles & 50–950 ramp

primary
#7E46D0
secondary
#BED69C
accent
#E345A3
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E46D0

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

Preview Lab → · Contrast checker → · Palette generator →

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