#7E4BD6#7E4BD6

#7E4BD6 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.203 H 295.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7E4BD6
RGBrgb(126, 75, 214)
HSLhsl(262, 63%, 57%)
HSVhsv(262, 65%, 84%)
CMYKcmyk(41.1%, 65%, 0%, 16.1%)
CIE-LABlab(44.69, 51.12, -63.89)
CIE-LCHlch(44.69, 81.82, 308.67°)
OKLaboklab(54.54% 0.0882 -0.1823)
OKLCHoklch(54.54% 0.203 295.8)
XYZxyz(23.2547, 14.3223, 65.1446)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4BD6 #A3D64B
analogous
#4B5ED6 #7E4BD6 #C34BD6
triadic
#7E4BD6 #D67E4B #4BD67E
tetradic
#7E4BD6 #D64B5E #A3D64B #4BD6C3
square
#7E4BD6 #D64B5E #A3D64B #4BD6C3
split-complementary
#7E4BD6 #D6C34B #5ED64B
monochromatic
#451F88 #5F2ABA #7E4BD6 #A27DE1 #C5AFED

Accessibility & contrast

On white

5.43
#7E4BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7E4BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4BD6
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4BD6#FFFFFF#000000##FFFFFF
##7E4BD61.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#676B8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7e4bd6;
/* rgb */ color: rgb(126, 75, 214);
/* oklch */ color: oklch(54.5% 0.203 295.8);
Tailwind
colors: {
  custom: {
    50: '#aa80e4',
    500: '#7e4bd6',
    950: '#000000',
  },
}
SCSS
$custom: #7e4bd6;
$custom-light: #aa80e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4bd6",
  "rgb": {
    "r": 126,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 262.014,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5454,
    "c": 0.20254,
    "h": 295.8
  },
  "luminance": 0.14323
}

Semantic roles & 50–950 ramp

primary
#7E4BD6
secondary
#C6DBA2
accent
#E642AA
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E4BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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