#7D4EB8#7D4EB8

#7D4EB8 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.163 H 301.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7D4EB8
RGBrgb(125, 78, 184)
HSLhsl(267, 43%, 51%)
HSVhsv(267, 58%, 72%)
CMYKcmyk(32.1%, 57.6%, 0%, 27.8%)
CIE-LABlab(43.17, 41.53, -48.98)
CIE-LCHlch(43.17, 64.22, 310.29°)
OKLaboklab(52.76% 0.085 -0.1386)
OKLCHoklch(52.76% 0.163 301.5)
XYZxyz(19.8315, 13.2694, 46.8546)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EB8 #89B84E
analogous
#4E54B8 #7D4EB8 #B24EB8
triadic
#7D4EB8 #B87D4E #4EB87D
tetradic
#7D4EB8 #B84E54 #89B84E #4EB8B2
square
#7D4EB8 #B84E54 #89B84E #4EB8B2
split-complementary
#7D4EB8 #B8B24E #54B84E
monochromatic
#422864 #60398F #7D4EB8 #9D7ACA #BDA5DB

Accessibility & contrast

On white

5.75
#7D4EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7D4EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EB8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EB8#FFFFFF#000000##FFFFFF
##7D4EB81.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E65BB
Deuteranopia (green-blind)
#3265B6
Tritanopia (blue-blind)
#71637B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4eb8;
/* rgb */ color: rgb(125, 78, 184);
/* oklch */ color: oklch(52.8% 0.163 301.5);
Tailwind
colors: {
  custom: {
    50: '#a681ce',
    500: '#7d4eb8',
    950: '#000000',
  },
}
SCSS
$custom: #7d4eb8;
$custom-light: #a681ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4eb8",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 266.604,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52763,
    "c": 0.16254,
    "h": 301.5
  },
  "luminance": 0.13269
}

Semantic roles & 50–950 ramp

primary
#7D4EB8
secondary
#B4C89A
accent
#D3559B
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D4EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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