#7E4BDC#7E4BDC

#7E4BDC is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.209 H 294.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7E4BDC
RGBrgb(126, 75, 220)
HSLhsl(261, 67%, 58%)
HSVhsv(261, 66%, 86%)
CMYKcmyk(42.7%, 65.9%, 0%, 13.7%)
CIE-LABlab(45.13, 52.69, -66.60)
CIE-LCHlch(45.13, 84.93, 308.35°)
OKLaboklab(54.99% 0.0875 -0.1903)
OKLCHoklch(54.99% 0.209 294.7)
XYZxyz(24.0351, 14.6345, 69.2547)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4BDC #A9DC4B
analogous
#4B61DC #7E4BDC #C64BDC
triadic
#7E4BDC #DC7E4B #4BDC7E
tetradic
#7E4BDC #DC4B61 #A9DC4B #4BDCC6
square
#7E4BDC #DC4B61 #A9DC4B #4BDCC6
split-complementary
#7E4BDC #DCC64B #61DC4B
monochromatic
#451C91 #5E26C4 #7E4BDC #A37EE6 #C7B1F0

Accessibility & contrast

On white

5.35
#7E4BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7E4BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4BDC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4BDC#FFFFFF#000000##FFFFFF
##7E4BDC1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#646E8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e4bdc;
/* rgb */ color: rgb(126, 75, 220);
/* oklch */ color: oklch(55.0% 0.209 294.7);
Tailwind
colors: {
  custom: {
    50: '#aa80e8',
    500: '#7e4bdc',
    950: '#000000',
  },
}
SCSS
$custom: #7e4bdc;
$custom-light: #aa80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4bdc",
  "rgb": {
    "r": 126,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 261.103,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.20947,
    "h": 294.7
  },
  "luminance": 0.14635
}

Semantic roles & 50–950 ramp

primary
#7E4BDC
secondary
#CADEA4
accent
#EA3DAE
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E4BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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