#7D4EBC#7D4EBC

#7D4EBC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.167 H 300.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7D4EBC
RGBrgb(125, 78, 188)
HSLhsl(266, 45%, 52%)
HSVhsv(266, 59%, 74%)
CMYKcmyk(33.5%, 58.5%, 0%, 26.3%)
CIE-LABlab(43.42, 42.55, -50.92)
CIE-LCHlch(43.42, 66.36, 309.88°)
OKLaboklab(53.03% 0.085 -0.1442)
OKLCHoklch(53.03% 0.167 300.5)
XYZxyz(20.2568, 13.4395, 49.0941)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EBC #8DBC4E
analogous
#4E56BC #7D4EBC #B44EBC
triadic
#7D4EBC #BC7D4E #4EBC7D
tetradic
#7D4EBC #BC4E56 #8DBC4E #4EBCB4
square
#7D4EBC #BC4E56 #8DBC4E #4EBCB4
split-complementary
#7D4EBC #BCB44E #56BC4E
monochromatic
#432768 #603895 #7D4EBC #9E7ACD #BEA7DE

Accessibility & contrast

On white

5.69
#7D4EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7D4EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EBC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EBC#FFFFFF#000000##FFFFFF
##7D4EBC1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766C0
Deuteranopia (green-blind)
#2D66BA
Tritanopia (blue-blind)
#70657D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d4ebc;
/* rgb */ color: rgb(125, 78, 188);
/* oklch */ color: oklch(53.0% 0.167 300.5);
Tailwind
colors: {
  custom: {
    50: '#a681d1',
    500: '#7d4ebc',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ebc;
$custom-light: #a681d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ebc",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 265.636,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53029,
    "c": 0.16741,
    "h": 300.5
  },
  "luminance": 0.1344
}

Semantic roles & 50–950 ramp

primary
#7D4EBC
secondary
#B6CB9B
accent
#D5539D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D4EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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