#7E4BD3#7E4BD3

#7E4BD3 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.199 H 296.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7E4BD3
RGBrgb(126, 75, 211)
HSLhsl(263, 61%, 56%)
HSVhsv(263, 64%, 83%)
CMYKcmyk(40.3%, 64.5%, 0%, 17.3%)
CIE-LABlab(44.48, 50.34, -62.52)
CIE-LCHlch(44.48, 80.26, 308.84°)
OKLaboklab(54.32% 0.0885 -0.1783)
OKLCHoklch(54.32% 0.199 296.4)
XYZxyz(22.8751, 14.1705, 63.1454)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4BD3 #A0D34B
analogous
#4B5CD3 #7E4BD3 #C24BD3
triadic
#7E4BD3 #D37E4B #4BD37E
tetradic
#7E4BD3 #D34B5C #A0D34B #4BD3C2
square
#7E4BD3 #D34B5C #A0D34B #4BD3C2
split-complementary
#7E4BD3 #D3C24B #5CD34B
monochromatic
#452083 #5F2CB5 #7E4BD3 #A17CDF #C4ADEB

Accessibility & contrast

On white

5.48
#7E4BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7E4BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4BD3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4BD3#FFFFFF#000000##FFFFFF
##7E4BD31.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#696A88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e4bd3;
/* rgb */ color: rgb(126, 75, 211);
/* oklch */ color: oklch(54.3% 0.199 296.4);
Tailwind
colors: {
  custom: {
    50: '#a980e1',
    500: '#7e4bd3',
    950: '#000000',
  },
}
SCSS
$custom: #7e4bd3;
$custom-light: #a980e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4bd3",
  "rgb": {
    "r": 126,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 262.5,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54316,
    "c": 0.19905,
    "h": 296.4
  },
  "luminance": 0.14171
}

Semantic roles & 50–950 ramp

primary
#7E4BD3
secondary
#C4D9A1
accent
#E444A8
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E4BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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